Test the necesary validations to every end point of the worlflow resource
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 244 | 0 |
| Prerequest Scripts | 322 | 0 |
| Test Scripts | 562 | 0 |
| Assertions | 457 | 0 |
| Skipped Tests | 0 | - |
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1758ba26-6f04-4602-b638-5b6e340fbf7d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:58:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90ae4cab-9fba-464d-94d4-dd7f8255bf12 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:58:13 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eda85065-1608-4034-b3d4-a03bc98e08eb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=9C0D6DF8B9AD9799070AFCBFCC91F805; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MDk1MzQzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcwOTgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM0OTh9.qZHzN2k_VIE21G6P-kY3ef6oaq78Z59LB-lS31oEw_A; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695337098918,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337098921,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4214ebbd-8e83-44ef-a40f-1f74e39c31ab |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
| Cookie | JSESSIONID=9C0D6DF8B9AD9799070AFCBFCC91F805; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MDk1MzQzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcwOTgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM0OTh9.qZHzN2k_VIE21G6P-kY3ef6oaq78Z59LB-lS31oEw_A |
{"schemeName": "REST1", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695337102014,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a7fbf009-f8fa-4c18-81cc-081f903245d1","mandatory":false,"modDate":1695337102015,"name":"REST1","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Scheme already exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a82de20d-ed9a-4130-ac47-8e9826827572 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=9C0D6DF8B9AD9799070AFCBFCC91F805; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MDk1MzQzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcwOTgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM0OTh9.qZHzN2k_VIE21G6P-kY3ef6oaq78Z59LB-lS31oEw_A |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:58:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f9149f1-12e3-4982-be10-d0ce4134949f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=80611766AC5E6CCD3925C8FE5E21DCA2; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTA2MzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MDl9.h1TRolQwy5FX-y-DTTCHfLENjKSiJ__K-Q8n8EE92b8; Path=/; HttpOnly; SameSite=Lax |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:29 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveScheme(WorkflowResource.java:3100)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 96d4cfd0-2f6c-4e46-849a-29e4e8659d47 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=80611766AC5E6CCD3925C8FE5E21DCA2; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTA2MzczLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MDl9.h1TRolQwy5FX-y-DTTCHfLENjKSiJ__K-Q8n8EE92b8 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:58:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f0db904-99ea-449e-8003-91a447c0e6c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 170 |
{ "schemeId" : "d61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:58:29 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b0712e78-370a-4350-8cf2-b211a5bfff67 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
{ "schemeId" : "f05deff8-27a4-4272-ae0a-e18ab2a11c1e", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=2B9D57A515BC1669B7A94F966B986627; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTEwNzA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMTMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MTN9.Hx4Si4qJNdMdc4qvOL7tXCLDdFr9FZ1Ze5UjSdoQ1IM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337113725,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | df2ff08f-4d60-4275-ba48-27eb621484d6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 171 |
| Cookie | JSESSIONID=2B9D57A515BC1669B7A94F966B986627; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTEwNzA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMTMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MTN9.Hx4Si4qJNdMdc4qvOL7tXCLDdFr9FZ1Ze5UjSdoQ1IM |
{ "schemeId" : "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2", "stepName":"REST123", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.addStep(WorkflowHelper.java:1038)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1367)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 25a4cade-a132-4edc-8f67-a032769aed5c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 158 |
| Cookie | JSESSIONID=2B9D57A515BC1669B7A94F966B986627; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTEwNzA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMTMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MTN9.Hx4Si4qJNdMdc4qvOL7tXCLDdFr9FZ1Ze5UjSdoQ1IM |
{ "schemeId" : "f05deff827", "stepName":"Step shorty schema id", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337116939,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"74b0c22c-fb1e-445a-a38c-11b144c5ad14","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d5ea41ba-5e21-40fd-92ce-a97289eea77c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B9D57A515BC1669B7A94F966B986627; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTEwNzA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMTMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MTN9.Hx4Si4qJNdMdc4qvOL7tXCLDdFr9FZ1Ze5UjSdoQ1IM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:39 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.addStep(WorkflowResource.java:1363)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e7ad6d81-fab9-43e3-afb1-76e2f33665b9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2B9D57A515BC1669B7A94F966B986627; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTEwNzA5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMTMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MTN9.Hx4Si4qJNdMdc4qvOL7tXCLDdFr9FZ1Ze5UjSdoQ1IM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:58:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 174c9339-2b2b-403e-b1ce-e0855d73f768 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:58:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5cf25aa0-d7dc-4702-aa39-fe343758f23d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
{
"stepId": "cade7e37-12eb-4774-939f-3094073b1dc9",
"actionName": "saveContent FROM REST NEW",
"schemeId": "f05deff8-27a4-4272-ae0a-e18ab2a11c1e",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7a8d8aeb-987f-4300-a92f-1612519994f0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 534 |
| Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM |
{
"stepId": "aaee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1994)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1591)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6e711b7f-1ff0-4df1-a970-1adfe422b400 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 533 |
| Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "saveContent FROM REST NEW",
"schemeId": "ad61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1870)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1582)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveAction(WorkflowHelper.java:1630)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1032)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 69606068-bb96-4ca7-8c1e-fd8263d3d184 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 480 |
| Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM |
{
"stepId": "cade7e3712",
"actionName": "saveContent FROM REST NEW",
"schemeId": "f05deff827",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 838aa259-4f4f-4eb8-abb3-7464b2c86ec7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:58:56 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveAction(WorkflowResource.java:1030)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 983d4d46-24e7-46f5-813d-a12b4c8373ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=54AC7D1BB1D870942540FB72D458336E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTIxMzUyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxMjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1MjR9.LpQug7tCQN8zBW19gKS20eFFCrSykCq6BcDXg2_cPxM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86ddd7e8-e688-4382-bdf1-1d3dc0c22262 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:58:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 092a434c-d78a-4406-ad01-4f75b2c923ef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=66BB7AE4045D064F3A521A6B77D4B892; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTM4MTc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDF9.7O_OOc2heOGg1KrwGdh3SXszUPopsloHD4vr9HF7Jew; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"archived":false,"creationDate":1695337141194,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a7fbf009-f8fa-4c18-81cc-081f903245d1","mandatory":false,"modDate":1695337102015,"name":"REST1","system":false},{"archived":false,"creationDate":1695337141194,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695337141194,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes exiting Scheme | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 14f15f66-ee71-484c-b3a2-35688a7edd62 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=66BB7AE4045D064F3A521A6B77D4B892; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTM4MTc4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDF9.7O_OOc2heOGg1KrwGdh3SXszUPopsloHD4vr9HF7Jew |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't get workflow data if you don't have credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67dd7b2e-6861-4a69-99a1-38f186d29c67 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:01 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 27f4d0c0-2040-4108-9acb-9302cbe60cfd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=3306AD8F41813C90F3B3489CBC3FCDEA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQyNDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDV9.mk_GPOOktdzxP02FWw4alBjgtMPCo0hB3kqga4NjVrE; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695337145425,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695337145416,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a7fbf009-f8fa-4c18-81cc-081f903245d1","mandatory":false,"modDate":1695337102015,"name":"REST1","system":false},{"archived":false,"creationDate":1695337145416,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695337145416,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Content types permissions | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate we return a 401 error in case you try to get shemes info of an unautorized conte type
To test:
Delete permissions to the content type (generic) and add just permissions to admin
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1b3a368d-397a-4ddc-ba64-c26b7938ffcf |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3306AD8F41813C90F3B3489CBC3FCDEA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQyNDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDV9.mk_GPOOktdzxP02FWw4alBjgtMPCo0hB3kqga4NjVrE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'2a3e91e4-fbbf-4876-8c5b-2233c1739b0' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSchemesByContentType(WorkflowHelper.java:1249)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAllSchemesAndSchemesByContentType(WorkflowResource.java:372)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Content types not found | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you have the list of schemas
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d41531b2-c77e-4d7c-a8fb-034e29fc73eb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3306AD8F41813C90F3B3489CBC3FCDEA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQyNDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDV9.mk_GPOOktdzxP02FWw4alBjgtMPCo0hB3kqga4NjVrE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTypeSchemes":[{"archived":false,"creationDate":1695337145425,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}],"schemes":[{"archived":false,"creationDate":1695337145633,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"a7fbf009-f8fa-4c18-81cc-081f903245d1","mandatory":false,"modDate":1695337102015,"name":"REST1","system":false},{"archived":false,"creationDate":1695337145633,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false},{"archived":false,"creationDate":1695337145633,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes system workflow | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e481e885-83ae-4846-8e04-533b30e6a8c3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3306AD8F41813C90F3B3489CBC3FCDEA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQyNDAxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDV9.mk_GPOOktdzxP02FWw4alBjgtMPCo0hB3kqga4NjVrE |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee11b936-2423-4d5f-85be-996c37af7614 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fd86d84f-068b-4539-80ae-524716563928 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=476559BF269793F5BFA7FA984B7615D1; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQ2ODI5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDl9.TMH00wRGWfoSK87dlUraPPGWryQyCl1Ue1IjYf_3ozk; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695337149849,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},{"creationDate":1695337149851,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"74b0c22c-fb1e-445a-a38c-11b144c5ad14","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes existing step | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 172a80ba-8aeb-4793-89af-18e8fb0741ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=476559BF269793F5BFA7FA984B7615D1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQ2ODI5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDl9.TMH00wRGWfoSK87dlUraPPGWryQyCl1Ue1IjYf_3ozk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findSteps(WorkflowHelper.java:1355)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepsByScheme(WorkflowResource.java:407)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid Response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Return Steps associated to the scheme, 404 if does not exists. 401 if the user does not have permission.
@Path("/schemes/{schemeId}/steps")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86239096-d942-4cc6-8e7a-46823ef13021 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=476559BF269793F5BFA7FA984B7615D1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQ2ODI5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDl9.TMH00wRGWfoSK87dlUraPPGWryQyCl1Ue1IjYf_3ozk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"creationDate":1695337149950,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"6cb7e3bd-1710-4eed-8838-d3db60f78f19","myOrder":0,"name":"New","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695337149951,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","myOrder":1,"name":"Draft","resolved":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695337149952,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","myOrder":2,"name":"Published","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"},{"creationDate":1695337149953,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","myOrder":3,"name":"Archived","resolved":true,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes `New` step | 1 | 0 | 0 |
| Includes Draft step | 1 | 0 | 0 |
| Includes Published step | 1 | 0 | 0 |
| Includes Archived step | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 563e7ad3-6fec-4e92-9fdf-ac1ca5f3eb19 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=476559BF269793F5BFA7FA984B7615D1; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTQ2ODI5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNDksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NDl9.TMH00wRGWfoSK87dlUraPPGWryQyCl1Ue1IjYf_3ozk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a1284277-aa3a-4a94-bf6b-31b9a7ce0477 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f5aca1dc-95b2-4186-95af-9045c43ac0a7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=1ACD2CEC0049AEA89B03D85A3A539710; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTUxMTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NTR9.rviKO4MyKSuPpQUUG1JZN9YAxy_QPTRKDr7oaQg89xA; Path=/; HttpOnly; SameSite=Lax |
| error-key | Contentlet identified by inode '123' was Not found. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Contentlet identified by inode '123' was Not found.","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Contentlet identified by inode '123' was Not found.\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableActions(WorkflowHelper.java:804)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableActions(WorkflowResource.java:444)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Valid response | 1 | 0 | 0 |
| Status code is 404 | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a63f9583-286d-4fe9-9125-a04422cfb15e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 143 |
| Cookie | JSESSIONID=1ACD2CEC0049AEA89B03D85A3A539710; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTUxMTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NTR9.rviKO4MyKSuPpQUUG1JZN9YAxy_QPTRKDr7oaQg89xA |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postmanXXY",
"value": "postmanXXY"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"e95240fdaadda6a38ed29511b550f130","inode":"880f6f54-59d0-4577-8077-dd4457000b6b","key":"postmanXXY","languageId":1,"live":true,"locked":false,"modDate":1695337154805,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337154805,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"postmanXXY","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.880f6f54-59d0-4577-8077-dd4457000b6b","value":"postmanXXY","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2b7d9631-66f1-40e7-8ee4-855b67556b2b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1ACD2CEC0049AEA89B03D85A3A539710; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTUxMTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NTR9.rviKO4MyKSuPpQUUG1JZN9YAxy_QPTRKDr7oaQg89xA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","LISTING","UNLOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method return all the available actions for an inode
@Path("/contentlet/{inode}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2314110-018e-4bc2-be65-01d225ea59ec |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1ACD2CEC0049AEA89B03D85A3A539710; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTUxMTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NTR9.rviKO4MyKSuPpQUUG1JZN9YAxy_QPTRKDr7oaQg89xA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"actionInputs":[],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},{"actionInputs":[{"body":{},"id":"moveable"}],"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"bc477b07-8f84-48d2-85b8-20d07512af4b","name":"Move","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","LOCKED","LISTING","UNLOCKED","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 46ec9c57-ec3f-4c8c-b6a5-bac3323c082b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1ACD2CEC0049AEA89B03D85A3A539710; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTUxMTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NTR9.rviKO4MyKSuPpQUUG1JZN9YAxy_QPTRKDr7oaQg89xA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 31909a99-c255-459d-9ad1-f153e3d5a3c2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:21 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5316707f-2250-44d1-98aa-4dcd724d3144 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=53F6453E8D620C6DBF047A9F6B6828DA; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTYyODA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNjUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NjV9.Vvsd7ZQ3M_t0LoJY3LWqdXt_K2dScLt8FNOSiA9ACeg; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=b9d89c803) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=b9d89c803)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=b9d89c803)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:833)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAction(WorkflowResource.java:660)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f9763836-4322-4f76-9a54-6acef61c8b38 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=53F6453E8D620C6DBF047A9F6B6828DA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTYyODA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNjUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NjV9.Vvsd7ZQ3M_t0LoJY3LWqdXt_K2dScLt8FNOSiA9ACeg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes Action Id | 1 | 0 | 0 |
| Includes Action name | 1 | 0 | 0 |
| Includes Scheme Id | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action, 404 if does not exists. 401 if the user does not have permission
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2814c683-0583-4e79-906c-fe85e564f1ce |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=53F6453E8D620C6DBF047A9F6B6828DA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTYyODA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNjUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NjV9.Vvsd7ZQ3M_t0LoJY3LWqdXt_K2dScLt8FNOSiA9ACeg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"actionInputs":[{"body":{},"id":"commentable"}],"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 57fee4b5-9903-4b39-b644-8b2bc496750a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=53F6453E8D620C6DBF047A9F6B6828DA; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTYyODA0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNjUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NjV9.Vvsd7ZQ3M_t0LoJY3LWqdXt_K2dScLt8FNOSiA9ACeg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0a7894fe-3de3-48ac-999e-6f08326235e2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:25 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a71eafb8-0825-457f-9a84-9e31dd5f2170 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=45789DDD33E820B0D583E557FFF84B6D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTY3MTcyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzB9.rwkwP20d_SV-ifuxXA5649xWVlz6AIv-unflC2KTSzA; Path=/; HttpOnly; SameSite=Lax |
| error-key | Unable to find Workflow Action (using actionId=3f01a645-9f77-4636-bf70-67d152ed821d and stepId=123) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=3f01a645-9f77-4636-bf70-67d152ed821d and stepId=123)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=3f01a645-9f77-4636-bf70-67d152ed821d and stepId=123)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b843eda2-4428-4c91-b5f3-d6084f503c2c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45789DDD33E820B0D583E557FFF84B6D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTY3MTcyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzB9.rwkwP20d_SV-ifuxXA5649xWVlz6AIv-unflC2KTSzA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Unable to find Workflow Action (using actionId=123 and stepId=cade7e37-12eb-4774-939f-3094073b1dc9) |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Unable to find Workflow Action (using actionId=123 and stepId=cade7e37-12eb-4774-939f-3094073b1dc9)","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Unable to find Workflow Action (using actionId=123 and stepId=cade7e37-12eb-4774-939f-3094073b1dc9)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAction(WorkflowHelper.java:894)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionByStep(WorkflowResource.java:724)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ca301d5f-cbd8-4b1b-8bc5-7984a444d64f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45789DDD33E820B0D583E557FFF84B6D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTY3MTcyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzB9.rwkwP20d_SV-ifuxXA5649xWVlz6AIv-unflC2KTSzA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a single action associated to the step, 404 if does not exists. 401 if the user does not have permission.
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 488b98b5-7799-4536-a204-e403bf8e11dd |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45789DDD33E820B0D583E557FFF84B6D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTY3MTcyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzB9.rwkwP20d_SV-ifuxXA5649xWVlz6AIv-unflC2KTSzA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 08faf38f-0f57-4eaa-be71-9da69e856854 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45789DDD33E820B0D583E557FFF84B6D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTY3MTcyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzB9.rwkwP20d_SV-ifuxXA5649xWVlz6AIv-unflC2KTSzA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4a281b18-580b-43bd-bf2c-2de095c0ef90 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6ace9156-1c74-49a9-8296-c78680a79250 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=F08C9438184ACDAC84E9029487576824; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTcxNTc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzR9.U7xKwUq3-OpaJTH-2m6LRBuNCOPIMJhRMBZkTSGcoVI; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActions(WorkflowHelper.java:1319)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByStep(WorkflowResource.java:756)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The step does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 96bd504c-e619-4281-844f-2eef97536884 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F08C9438184ACDAC84E9029487576824; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTcxNTc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzR9.U7xKwUq3-OpaJTH-2m6LRBuNCOPIMJhRMBZkTSGcoVI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a collection of actions associated to the step, if step does not have any will returns 200 and an empty list.
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9839142f-8f9f-4215-b77a-26c0e051890c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F08C9438184ACDAC84E9029487576824; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTcxNTc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzR9.U7xKwUq3-OpaJTH-2m6LRBuNCOPIMJhRMBZkTSGcoVI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Step returned | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 71065612-35fb-47ae-9f97-a7d9e6eb3e23 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=F08C9438184ACDAC84E9029487576824; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTcxNTc5LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1NzR9.U7xKwUq3-OpaJTH-2m6LRBuNCOPIMJhRMBZkTSGcoVI |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 34093bb0-449a-47bd-ab1d-3938ed7259c4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 54067367-7be3-47f6-934b-41e686d8a1b3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=A1B224705B46D02EEA0C54969997A605; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTc1OTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1Nzh9.Guchh7qCrkdny0-YAanaw_voGMg-vbcD3Bymq1CRCCM; Path=/; HttpOnly; SameSite=Lax |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findActionsByScheme(WorkflowHelper.java:1448)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findActionsByScheme(WorkflowResource.java:785)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The scheme does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 05b70359-c40c-440c-be84-1476416bc92f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A1B224705B46D02EEA0C54969997A605; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTc1OTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1Nzh9.Guchh7qCrkdny0-YAanaw_voGMg-vbcD3Bymq1CRCCM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns a set of actions associated to the schemeId
@Path("/schemes/{schemeId}/actions")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fd52d323-8a58-4ee8-8c38-2629449cf566 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A1B224705B46D02EEA0C54969997A605; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTc1OTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1Nzh9.Guchh7qCrkdny0-YAanaw_voGMg-vbcD3Bymq1CRCCM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, Success request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e5fff8d9-8e2f-4fe3-b409-cda01f3a8865 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A1B224705B46D02EEA0C54969997A605; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTc1OTUwLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxNzgsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1Nzh9.Guchh7qCrkdny0-YAanaw_voGMg-vbcD3Bymq1CRCCM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 19963bda-f615-4cb9-9342-93dbf7767163 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:38 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7c6e554d-2eac-4bd2-b23c-9e0bbee59132 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=AED76C7C2C5A00FDE93DF36034FF9437; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTgwMjIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODN9.CnZDzdcI4ML7t0lVV4wfDBKcLuSfFDcUwLBgvKbL320; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337124447,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a66a93c6-9ad1-4e52-ae9f-736f99bba22f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=AED76C7C2C5A00FDE93DF36034FF9437; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTgwMjIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODN9.CnZDzdcI4ML7t0lVV4wfDBKcLuSfFDcUwLBgvKbL320 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findStepById(WorkflowHelper.java:1064)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findStepById(WorkflowResource.java:1395)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the step by id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6dcb130d-b242-4b82-9af2-e6b1332cd60e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=AED76C7C2C5A00FDE93DF36034FF9437; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTgwMjIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODN9.CnZDzdcI4ML7t0lVV4wfDBKcLuSfFDcUwLBgvKbL320 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337124447,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 12ab9c1c-b662-4d88-8450-d9fbf02285ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=AED76C7C2C5A00FDE93DF36034FF9437; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTgwMjIzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODN9.CnZDzdcI4ML7t0lVV4wfDBKcLuSfFDcUwLBgvKbL320 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7a0099fb-f0fe-4f2a-b46e-ccfba46966f6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:43 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e41672a-623f-4759-a427-00d873ec42fa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=751565473C4F7D9302579F0C3007C761; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg0NzAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODcsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODd9.pK4q3PGeh_XxDFIk0AJ-L2TBWybLHtN9Vg8nCfDJr3I; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","ARCHIVED","LOCKED","LISTING","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the content type workflow schemes. 401 if the user does not have permission.
@Path("/defaultactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 78ed5b6f-87f8-4a63-8748-42632281019c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=751565473C4F7D9302579F0C3007C761; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg0NzAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODcsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODd9.pK4q3PGeh_XxDFIk0AJ-L2TBWybLHtN9Vg8nCfDJr3I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsByContentType(WorkflowHelper.java:1793)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsByContentType(WorkflowResource.java:3002)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2c5ce554-bd61-499e-876c-21d8f86569d7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=751565473C4F7D9302579F0C3007C761; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg0NzAyLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxODcsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1ODd9.pK4q3PGeh_XxDFIk0AJ-L2TBWybLHtN9Vg8nCfDJr3I |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d684f1f9-5074-4642-bf84-da596a9b486c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 24fe88e0-2ac8-466d-a9b2-a80f2de5fe72 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=1D9D0202128F8940F1C0DF7277A7090E; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg4OTg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTF9.RN9EHhWYyP3wHPo4U6OFR8MEE8EW944whUTeeJeOuko; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337149849,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337149849,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a16a64a2-fdd0-4856-a709-6782b042fe9a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1D9D0202128F8940F1C0DF7277A7090E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg4OTg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTF9.RN9EHhWYyP3wHPo4U6OFR8MEE8EW944whUTeeJeOuko |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findAvailableDefaultActionsBySchemes(WorkflowHelper.java:1835)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findAvailableDefaultActionsBySchemes(WorkflowResource.java:3037)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, The action does not exist | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Returns all the possible default actions associated to the workflow schemes.
401 if the user does not have permission.
@Path("/defaultactions/schemes")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 266e37ee-a9d9-49fb-83dd-bbbcc9dee2b4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1D9D0202128F8940F1C0DF7277A7090E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg4OTg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTF9.RN9EHhWYyP3wHPo4U6OFR8MEE8EW944whUTeeJeOuko |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337149849,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false}},{"action":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337149849,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337130855,"name":"REST Schema","system":false}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4f3879a9-f288-4d06-a82f-dba241e4c8ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=1D9D0202128F8940F1C0DF7277A7090E; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTg4OTg1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTF9.RN9EHhWYyP3wHPo4U6OFR8MEE8EW944whUTeeJeOuko |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 77ac8ae9-6231-477b-afd0-fdf6c13e8a70 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 64110368-b44e-45cb-aee5-bb2e9dce612e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=18C8CC3343802FA422C0289AB5267E67; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTkzMjUzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTYsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTZ9.pyyWAKOTGz3NIj40sBe5xJjDtYM3sg3Eh7VWUBE3YaM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}},{"action":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"777f1c6b-c877-4a37-ba4b-10627316c2cc","name":"Delete","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"d6b095b6-b65f-4bdb-bbfd-701d663dfee2","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","ARCHIVED","LOCKED","LISTING","UNLOCKED"]},"scheme":{"archived":false,"creationDate":1695337154348,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337064952,"name":"System Workflow","system":true}}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Finds the available actions of the initial/first step(s) of the workflow scheme(s) associated with a content type Id.
@Path("/initialactions/contenttype/{contentTypeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5d769101-7ecb-4b5d-8d7e-5f15547075a0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=18C8CC3343802FA422C0289AB5267E67; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTkzMjUzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTYsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTZ9.pyyWAKOTGz3NIj40sBe5xJjDtYM3sg3Eh7VWUBE3YaM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 22:59:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found","stacktrace":{"buffer":"com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'a2a3e91e4-fbbf-4876-8c5b-2233c1739b05' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.workflow.helper.WorkflowHelper.findInitialAvailableActionsByContentType(WorkflowHelper.java:1880)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.findInitialAvailableActionsByContentType(WorkflowResource.java:3071)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5c0acdbd-45a5-4172-8944-91ec25a025f4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=18C8CC3343802FA422C0289AB5267E67; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTkzMjUzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcxOTYsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM1OTZ9.pyyWAKOTGz3NIj40sBe5xJjDtYM3sg3Eh7VWUBE3YaM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 22:59:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b9471321-1e0c-40c2-8a41-e32fe091c5b5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 22:59:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4d87c7d-61d2-4257-ae19-7d73de735ab8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 516 |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=DAA10E16A1CB0C3EB7BF3116E254D6DC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTk3NTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MDB9.J8AURt4lnMjPjOYmH3eehQ-EaHNzbVAH0xlUc_gXCkk; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"Republish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | afcbb79e-f7b2-47b1-8c23-94f93a2bf7d3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 522 |
| Cookie | JSESSIONID=DAA10E16A1CB0C3EB7BF3116E254D6DC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTk3NTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MDB9.J8AURt4lnMjPjOYmH3eehQ-EaHNzbVAH0xlUc_gXCkk |
{
"stepId": "ee24a4cb-2d15-4c98-b1bd-6327126451f3",
"actionName": "Republish-test2",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateAction(WorkflowHelper.java:1478)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1066)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404, Action does not exist | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bd4de086-3095-4fd5-97a3-40146986c2c1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 469 |
| Cookie | JSESSIONID=DAA10E16A1CB0C3EB7BF3116E254D6DC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTk3NTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MDB9.J8AURt4lnMjPjOYmH3eehQ-EaHNzbVAH0xlUc_gXCkk |
{
"actionName": "Republish-123fa",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"3f01a645-9f77-4636-bf70-67d152ed821d","name":"Republish-123fa","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This resource updates the workflow action
404 if the id does not exist
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8142f91e-3fcb-47b2-be2b-60ea3279b0ff |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DAA10E16A1CB0C3EB7BF3116E254D6DC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTk3NTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MDB9.J8AURt4lnMjPjOYmH3eehQ-EaHNzbVAH0xlUc_gXCkk |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:06 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateAction(WorkflowResource.java:1064)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b00b5dcb-9701-47db-a5d6-3ef2fcf9c643 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=DAA10E16A1CB0C3EB7BF3116E254D6DC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MTk3NTU2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MDB9.J8AURt4lnMjPjOYmH3eehQ-EaHNzbVAH0xlUc_gXCkk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 423c9aad-e21a-4e18-9b96-b719a7688859 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ab9ff17-58c0-47b7-bf7d-d866cd6cf63f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
{ "actionId": "3f01a645-9f77-4636-bf70-67d152ed821d" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 48aa17f9-303a-475f-b334-3fd8644f5832 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 54 |
| Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk |
{ "actionId": "777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1947)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 61e58c62-a9b9-4770-b95f-fbb49276736f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
| Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk |
{ "actionId": "a777f1c6b-c877-4a37-ba4b-10627316c2cc" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.saveAction(WorkflowAPIImpl.java:1944)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveActionToStep(WorkflowHelper.java:1734)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1099)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 26f8c280-a355-4232-aca5-332270ba2026 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 28 |
| Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk |
{ "actionId": "3f01a6459f" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method saves the actions and associate to a specific step
@Path("/steps/{stepId}/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | beab305b-2346-4ba1-b568-0adb00128a26 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:17 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.saveActionToStep(WorkflowResource.java:1096)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb92c0f7-79b9-4925-a616-237ab917c40e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=FB87F55F4EA585A9E7AA4FB73F35237D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjA4MTgxLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MTF9.danXhTB-EJ3pF_cH-Sq3I0FTzH-tVadw11COYmSlDwk |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't import schemes without credentials
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e7fb044-d90a-4b58-b140-8b7dbf824427 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4552 |
{
"workflowObject": {
"schemes": [
{
"creationDate": 1523640559394,
"name": "Test1",
"description": "",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1523640423771,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"creationDate": 1523643857447,
"name": "Step1",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"creationDate": 1523643857447,
"name": "step2",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save it",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"LOCKED",
"NEW",
"UNLOCKED"
]
},
{
"id": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"name": "TEst",
"schemeId": "766d9cef-e138-4fe0-9acc-b8e7e40bbed3",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"LOCKED",
"UNLOCKED"
]
}
],
"actionSteps": [
{
"stepId": "01d5d41a-007e-463d-a5b5-c35ea27b1a30",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"actionOrder": "0"
},
{
"stepId": "2cbf9872-0ed3-407b-b803-70a9a161a7db",
"actionId": "687c0729-95fe-4e1d-b37c-e9f70615df23",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "2298b780-e1d3-4916-b981-e22fd5553086",
"actionId": "81522b66-221b-4496-aec6-0e4c484973f7",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"nextStep": null,
"howTo": "This actionlet will checkin the content.",
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid Credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2bc39ec-8223-4f1a-ba56-f5b04ff25953 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de2559e8-c298-4bd2-9199-645d7e44dfac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 12065 |
| Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4 |
{
"workflowObject": {
"version": "1.0",
"schemes": [
{
"id": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"creationDate": 1527632337579,
"name": "WF_Import_AsAdmin",
"description": "REST_1",
"archived": false,
"mandatory": false,
"defaultScheme": false,
"modDate": 1527632329252,
"entryActionId": null,
"system": false
}
],
"steps": [
{
"id": "4ec41c51-4006-4713-a28d-d42a719934ac",
"creationDate": 1527632495697,
"name": "Step1",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 0,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"creationDate": 1527632495698,
"name": "Step2",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 1,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "a0f9a62c-182a-4571-b136-6a807550e597",
"creationDate": 1527632495699,
"name": "Step3",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 2,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
},
{
"id": "09d794cb-c13a-4379-9553-cdef3842d98c",
"creationDate": 1527632495700,
"name": "Step4",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"myOrder": 3,
"resolved": false,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0
}
],
"actions": [
{
"id": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "09d794cb-c13a-4379-9553-cdef3842d98c",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "a0f9a62c-182a-4571-b136-6a807550e597",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNPUBLISHED",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"NEW",
"UNLOCKED",
"LOCKED"
]
},
{
"id": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Un-Archive",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "currentstep",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": true,
"showOn": [
"UNLOCKED",
"LOCKED",
"ARCHIVED"
]
},
{
"id": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Unpublish",
"schemeId": "42771904-b7d9-42b7-b038-8e077fabcf3f",
"condition": "",
"nextStep": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"nextAssign": "e7d4e34e-5127-45fc-8123-d48b62d510e3",
"icon": "workflowIcon",
"roleHierarchyForAssign": false,
"assignable": false,
"commentable": false,
"order": 0,
"owner": null,
"nextStepCurrentStep": false,
"showOn": [
"UNLOCKED",
"LOCKED",
"PUBLISHED"
]
}
],
"actionSteps": [
{
"stepId": "4ec41c51-4006-4713-a28d-d42a719934ac",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"actionOrder": "0"
},
{
"stepId": "5fa5a384-53c0-4c47-8ba1-5751e003b7b4",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"actionOrder": "1"
},
{
"stepId": "a0f9a62c-182a-4571-b136-6a807550e597",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"actionOrder": "0"
},
{
"stepId": "09d794cb-c13a-4379-9553-cdef3842d98c",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"actionOrder": "0"
}
],
"actionClasses": [
{
"id": "889a58e3-2c22-4164-b3c1-62fbf93b5949",
"actionId": "1e916358-b9bf-4331-b28b-7af41eefc970",
"name": "Archive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet",
"actionlet": {
"name": "Archive content",
"parameters": null,
"howTo": "This actionlet will archive the content.",
"localizedName": "Archive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.ArchiveContentActionlet.howTo"
}
},
{
"id": "51610a9a-9be6-489b-ba75-336bf632fc13",
"actionId": "e93c8802-2033-4c3b-88f9-8125301d9816",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
},
{
"id": "f52163e8-c4a1-4862-be40-0c530cd8f154",
"actionId": "b588eae6-fa32-4eeb-b30e-fa9f7a80da7f",
"name": "Save content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet",
"actionlet": {
"name": "Save content",
"parameters": null,
"howTo": "This actionlet will checkin the content.",
"nextStep": null,
"localizedName": "Save content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.SaveContentActionlet.howTo"
}
},
{
"id": "789b3b43-0b19-40df-b5e0-e7e161dd1f39",
"actionId": "334a0f26-76b9-4be7-803b-ab6dc5461023",
"name": "Unarchive content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet",
"actionlet": {
"name": "Unarchive content",
"parameters": null,
"howTo": "This actionlet will un archive the content and return it to a working state",
"nextStep": null,
"localizedName": "Unarchive Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.UnarchiveContentActionlet.howTo"
}
},
{
"id": "700330ab-8974-40d5-9131-67aa05731b48",
"actionId": "0e807408-701d-4e02-b7a0-8279f3668fdd",
"name": "Publish content",
"order": 0,
"clazz": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet",
"actionlet": {
"name": "Publish content",
"parameters": null,
"howTo": "This actionlet will publish the content.",
"nextStep": null,
"localizedName": "Publish Content",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.PublishContentActionlet.howTo"
}
}
],
"actionClassParams": []
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:24 GMT |
| Connection | close |
{"message":"Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.","stacktrace":{"buffer":"com.dotmarketing.exception.AlreadyExistException: Already exist a scheme with the same id (42771904-b7d9-42b7-b038-8e077fabcf3f). Create different schemes with the same id is not allowed.\n\tat com.dotcms.workflow.helper.WorkflowHelper.checkIfSchemeExists(WorkflowHelper.java:772)\n\tat com.dotcms.workflow.helper.WorkflowHelper.importScheme(WorkflowHelper.java:602)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2875)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Already existing id | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as limited user if you have permissions to the workflow portlet
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 37af607a-fecf-42f7-bb1e-2fe46064c792 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:24 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.importScheme(WorkflowResource.java:2861)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)\n\tat java.base/sun.nio.ch.Invoker.invoke(Invoker.java:186)\n\tat java.base/sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:193)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5ddf15ae-af8e-4a46-8749-faae644477c4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 4671 |
| Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4 |
{
"workflowObject": {
"actionClassParams": [
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "2163cb23-8b9a-406a-b2fa-7beecd5c63b0",
"key": "emailSubject",
"value": "subject"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "f98771e9-ca5c-438a-a23b-85594b92af45",
"key": "emailBody",
"value": "msg"
},
{
"actionClassId": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"id": "d831815e-f9c4-4338-956f-2e8b9e0e371b",
"key": "isHtml",
"value": "true"
}
],
"actionClasses": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionlet": {
"actionClass": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"howTo": "This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ",
"localizedHowto": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo",
"localizedName": "Notify Assignee",
"name": "Notify Assignee",
"nextStep": null,
"parameters": [
{
"defaultValue": "",
"displayName": "Email Subject",
"key": "emailSubject",
"required": false
},
{
"defaultValue": null,
"displayName": "Email Message",
"key": "emailBody",
"required": false
},
{
"defaultValue": "true",
"displayName": "Is Html?",
"key": "isHtml",
"required": false
}
]
},
"clazz": "com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet",
"id": "deb0865a-8367-499a-9c80-f70f6cb4a201",
"name": "Notify Assignee",
"order": 0
}
],
"actionSteps": [
{
"actionId": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"actionOrder": "0",
"stepId": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec"
}
],
"actions": [
{
"assignable": false,
"commentable": false,
"condition": "",
"icon": "workflowIcon",
"id": "9148bd02-9d49-4765-8570-17f9a28d64bc",
"name": "test",
"nextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"nextStep": "currentstep",
"nextStepCurrentStep": true,
"order": 0,
"owner": null,
"roleHierarchyForAssign": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981",
"showOn": []
}
],
"schemeSystemActionWorkflowActionMappings": [],
"schemes": [
{
"archived": false,
"creationDate": 1623256714100,
"defaultScheme": false,
"description": "",
"entryActionId": null,
"id": "8760ea91-9912-456c-b719-7c63e81fa981",
"mandatory": false,
"modDate": 1623203259556,
"name": "Test",
"system": false
}
],
"steps": [
{
"creationDate": 1623256717104,
"enableEscalation": false,
"escalationAction": null,
"escalationTime": 0,
"id": "2ad8291f-eee4-4ce7-ab99-1b2186ef4dec",
"myOrder": 0,
"name": "step1",
"resolved": false,
"schemeId": "8760ea91-9912-456c-b719-7c63e81fa981"
}
],
"version": "1.0"
},
"permissions": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"OK","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Body matches string | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can import schemes as admin
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 48bc5c9b-3035-4e21-be7e-593da24b0357 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 34 |
| Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4 |
{
"name": "Copy Workflow"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695337228249,"defaultScheme":false,"description":"","entryActionId":null,"id":"01b27905-fb83-4882-b141-6f5dd7ee00fe","mandatory":false,"modDate":1695337228250,"name":"Copy Workflow","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2d0427da-a0f6-4fe6-90d2-2d21fb1ef29b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=4A7EBD19A54329CD74073E9455DAAE24; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjE4ODQ4LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMjEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MjF9.xLbUhl8-w4MzKPPQkAHxSJBSBO9b1-JsW8mQeds4SF4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can't export without credentials
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 56c7f207-6d81-4eb1-b61c-f2385a772508 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, Invalid credentials | 1 | 0 | 0 |
| Correct response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f79b93e1-5338-4c56-9ab4-d7c149e93be4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=4709417A757D11D92C482887C83C9D9A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjMyNTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MzV9.VNbj-SsmhdatJbR8uCies_rk7LELqtezlBwZyddZ7cA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"emailSubject","value":null},{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"emailBody","value":null},{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"23789742-aae8-4392-914f-3226c94185d9","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"3f01a645-9f77-4636-bf70-67d152ed821d","actionOrder":"0","stepId":"cade7e37-12eb-4774-939f-3094073b1dc9"},{"actionId":"23789742-aae8-4392-914f-3226c94185d9","actionOrder":"1","stepId":"cade7e37-12eb-4774-939f-3094073b1dc9"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695337235561,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337214361,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695337235566,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},{"creationDate":1695337235568,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"74b0c22c-fb1e-445a-a38c-11b144c5ad14","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Validate you can export schemes as admin user
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f145c9c8-b2e3-48ad-9a73-5c2f6b8748d9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=4709417A757D11D92C482887C83C9D9A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjMyNTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MzV9.VNbj-SsmhdatJbR8uCies_rk7LELqtezlBwZyddZ7cA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"permissions":[],"workflowObject":{"actionClassParams":[{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"emailSubject","value":null},{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"emailBody","value":null},{"actionClassId":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","id":null,"key":"isHtml","value":"true"}],"actionClasses":[{"actionId":"23789742-aae8-4392-914f-3226c94185d9","actionlet":{"actionClass":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","howTo":"This actionlet will send an email to the assignee (or assignees if the next assign is a role). It uses a default email subject and message, but can be overridden. Both the subject and message are parsed Velocity, and have access to a $workflow object that gives them $workflow.task, $workflow.nextAssign, $workflow.action, $workflow.step, etc.. ","localizedHowto":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet.howTo","localizedName":"Notify Assignee","name":"Notify Assignee","nextStep":null,"parameters":[{"defaultValue":"","displayName":"Email Subject","key":"emailSubject","required":false},{"defaultValue":null,"displayName":"Email Message","key":"emailBody","required":false},{"defaultValue":"true","displayName":"Is Html?","key":"isHtml","required":false}]},"clazz":"com.dotmarketing.portlets.workflows.actionlet.NotifyAssigneeActionlet","id":"21edf8ee-3798-4a78-bc27-e41e2b7810ab","name":"Notify Assignee","order":0}],"actionSteps":[{"actionId":"3f01a645-9f77-4636-bf70-67d152ed821d","actionOrder":"0","stepId":"cade7e37-12eb-4774-939f-3094073b1dc9"},{"actionId":"23789742-aae8-4392-914f-3226c94185d9","actionOrder":"1","stepId":"cade7e37-12eb-4774-939f-3094073b1dc9"}],"actions":[{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"23789742-aae8-4392-914f-3226c94185d9","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]}],"schemeSystemActionWorkflowActionMappings":[],"schemes":[{"archived":false,"creationDate":1695337235561,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337214361,"name":"REST Schema","system":false}],"steps":[{"creationDate":1695337235662,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},{"creationDate":1695337235663,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"74b0c22c-fb1e-445a-a38c-11b144c5ad14","myOrder":1,"name":"Step shorty schema id","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"}],"version":"1.0"}},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Includes scheme | 1 | 0 | 0 |
| Includes step | 1 | 0 | 0 |
| Includes action | 1 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bfa77e27-bc80-4d44-b129-e4ccf46c0aef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=4709417A757D11D92C482887C83C9D9A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjMyNTQ0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzUsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2MzV9.VNbj-SsmhdatJbR8uCies_rk7LELqtezlBwZyddZ7cA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8f146286-d3d0-40e8-9599-67acc35a83b7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:35 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cade4597-ba7a-41c4-87c2-eb2f1e6a4447 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 142 |
{ "stepOrder":5, "stepName":"REST step UPDATED", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=45766DB7B2800C29A8D6C9150A289FA4; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjM2ODY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2Mzl9.gF6jwJyDHGK_dgXHuXCN8K8nvKh2vTZXwvBlHCC2gEM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337124447,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":1,"name":"REST step UPDATED","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ba9bec4b-73d5-442f-a014-e17d0f12f83b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 129 |
| Cookie | JSESSIONID=45766DB7B2800C29A8D6C9150A289FA4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjM2ODY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2Mzl9.gF6jwJyDHGK_dgXHuXCN8K8nvKh2vTZXwvBlHCC2gEM |
{ "stepOrder":5, "stepName":"REST", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.updateStep(WorkflowHelper.java:1082)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1337)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1f73f303-46fb-4362-95f4-d1c6c7d4c839 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 148 |
| Cookie | JSESSIONID=45766DB7B2800C29A8D6C9150A289FA4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjM2ODY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2Mzl9.gF6jwJyDHGK_dgXHuXCN8K8nvKh2vTZXwvBlHCC2gEM |
{ "stepOrder":5, "stepName":"REST step Updated again", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337242975,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":1,"name":"REST step Updated again","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method update the some step using the id
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2be9b2a1-fa10-458a-a55e-f94c71ae6a20 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45766DB7B2800C29A8D6C9150A289FA4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjM2ODY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2Mzl9.gF6jwJyDHGK_dgXHuXCN8K8nvKh2vTZXwvBlHCC2gEM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:45 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateStep(WorkflowResource.java:1336)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a6f56e87-c65d-42ab-948b-3d9e944c3491 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=45766DB7B2800C29A8D6C9150A289FA4; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjM2ODY2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyMzksImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2Mzl9.gF6jwJyDHGK_dgXHuXCN8K8nvKh2vTZXwvBlHCC2gEM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b29655fc-6fb7-45a1-8a75-03f74b87eb52 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:45 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b528b123-0f80-4417-be6a-fd8ee0ce1dbc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=E80DFD654390F0DDF3DBDE2957EFDD62; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjQ3NTQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNTAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NTB9.5YF5pOfuEffMoiXn6fhvUZzoALYw_UxdQvP-gwYM5VA; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 90c55b64-fcac-435b-9639-b0403e6992b9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E80DFD654390F0DDF3DBDE2957EFDD62; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjQ3NTQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNTAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NTB9.5YF5pOfuEffMoiXn6fhvUZzoALYw_UxdQvP-gwYM5VA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:00:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderStep(WorkflowHelper.java:989)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderStep(WorkflowResource.java:1306)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of the steps in a scheme
@Path("/reorder/step/{stepId}/order/{order}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d7647a33-7788-4606-b27d-f4a96a44da6f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E80DFD654390F0DDF3DBDE2957EFDD62; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjQ3NTQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNTAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NTB9.5YF5pOfuEffMoiXn6fhvUZzoALYw_UxdQvP-gwYM5VA |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:00:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 98387101-3359-4108-aea1-c3debad5b765 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=E80DFD654390F0DDF3DBDE2957EFDD62; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjQ3NTQ2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNTAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NTB9.5YF5pOfuEffMoiXn6fhvUZzoALYw_UxdQvP-gwYM5VA |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:00:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2168b28d-eadd-46fd-8483-c9b3bd2ae65f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 80 |
{"schemeName": "REST2", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:00:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e0ca0af-94a9-43be-be2b-a2e373abfa5f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 107 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=904C806A8433FB206A2DBBD75F4B9077; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjU3OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNjAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NjB9.DyfFBlcHTGoZDTf-d9KX6vS4aNcyMR1XBmMeVA2daMg; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695337260943,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337260948,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f652018-aeac-4897-963a-51660b7e2a89 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 115 |
| Cookie | JSESSIONID=904C806A8433FB206A2DBBD75F4B9077; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjU3OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNjAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NjB9.DyfFBlcHTGoZDTf-d9KX6vS4aNcyMR1XBmMeVA2daMg |
{"schemeName": "Default Scheme Updated from REST", "schemeDescription": "AutomaticTest", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1930)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3132)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.saveOrUpdate(WorkflowHelper.java:1926)\n\t... 98 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9393b0b0-255a-4c50-b26b-2ecd9de51f37 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=904C806A8433FB206A2DBBD75F4B9077; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjU3OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNjAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NjB9.DyfFBlcHTGoZDTf-d9KX6vS4aNcyMR1XBmMeVA2daMg |
{"schemeName": "WF_Import_AsAdmin_edited_Shorty", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337264024,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337264026,"name":"WF_Import_AsAdmin_edited_Shorty","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 74a6cedf-c7b2-4648-a328-31bd99f3e248 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=904C806A8433FB206A2DBBD75F4B9077; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjU3OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNjAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NjB9.DyfFBlcHTGoZDTf-d9KX6vS4aNcyMR1XBmMeVA2daMg |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:07 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.updateScheme(WorkflowResource.java:3130)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f83e26da-d170-4e3b-aee8-6f26f12bda42 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=904C806A8433FB206A2DBBD75F4B9077; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjU3OTI0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNjAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NjB9.DyfFBlcHTGoZDTf-d9KX6vS4aNcyMR1XBmMeVA2daMg |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:01:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 644cd5d9-7600-4512-9e23-485674216c16 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 3}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:01:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 012e6b64-cd11-4a02-9d37-497c96b64503 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
{"order" : 0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:01:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 08a67088-6ff3-40db-a9c7-502659c8e043 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 45 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{"order" : 123012301203102301230102301230123}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | bad-request-exception |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:14 GMT |
| Connection | close |
{"message":"Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]","stacktrace":{"buffer":"com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (123012301203102301230102301230123) out of range of int (-2147483648 - 2147483647)\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 45]\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:623)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:592)\n\tat com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:587)\n\tat com.fasterxml.jackson.core.base.ParserBase._reportTooLongIntegral(ParserBase.java:927)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseSlowInt(ParserBase.java:906)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:828)\n\tat com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:857)\n\tat com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:689)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:526)\n\tat com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:506)\n\tat com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeSetAndReturn(FieldProperty.java:167)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.vanillaDeserialize(BuilderBasedDeserializer.java:293)\n\tat com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer.deserialize(BuilderBasedDeserializer.java:217)\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)\n\tat com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:2025)\n\tat com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1175)\n\tat com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:803)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)\n\tat org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)\n\tat org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)\n\tat org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)\n\tat org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)\n\tat org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)\n\tat org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)\n\tat org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, Bad request | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff39ae28-0405-4a34-8650-04a07efd92f7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)\n\tat java.base/sun.nio.ch.Invoker.invoke(Invoker.java:186)\n\tat java.base/sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:193)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YmlsbEBkb3RjbXMuY29tOmJpbGw= |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e8bb652-308d-43e6-8535-8a2ce3612ea5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:14 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.reorderAction(WorkflowHelper.java:951)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2826)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 77e74b7b-b3f5-4be0-8e5b-71ccb395d55e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 13 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{"order" : 1}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:01:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Change the order of an action associated to the step
@Path("/reorder/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2bf14060-c2f0-4b0e-83d3-582562b3913b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Expected Request body was empty. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:17 GMT |
| Connection | close |
{"message":"Expected Request body was empty.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Expected Request body was empty.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1209)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1334)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.reorderAction(WorkflowResource.java:2824)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 380b8260-7fa0-41d8-8417-d01896b9c85d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1048 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Test Content Type",
"description": "THE DESCRIPTION",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"dataType": "LONG_TEXT",
"dbColumn": "text_area2",
"fieldVariables": [],
"fixed": false,
"iDate": 1453474468000,
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"indexed": true,
"listed": false,
"modDate": 1478557845000,
"name": "Title",
"readOnly": false,
"required": false,
"searchable": true,
"sortOrder": 3,
"unique": false,
"variable": "title"
}],
"workflow": ["d61a59e1-a49c-46f2-a929-db2b4bfa88b2"]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"THE DESCRIPTION","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695337278000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":3,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695337278000,"icon":"event_note","id":"94a03a7b528590d78d2f752479b24788","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337284000,"indexed":false,"listed":false,"modDate":1695337284000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337284000,"indexed":false,"listed":false,"modDate":1695337284000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"94a03a7b528590d78d2f752479b24788","dataType":"LONG_TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1453474468000,"id":"6ce807965d2b9510b8f2aafb61360803","indexed":true,"listed":false,"modDate":1695337278000,"name":"Title","readOnly":false,"required":false,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695337278000,"multilingualable":false,"name":"Test Content Type","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"TestContentType","versionable":true,"workflows":[{"archived":false,"creationDate":1695337284433,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337274782,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f0aca4c2-a6df-4024-af2e-9e6f4052893d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 71 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{
"contentlet":{
"stName": "TestContentType",
"title": "test"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"cb9ef383975eb9e2e6b71ff2563ef73d","inode":"dc73126e-9ed0-42d1-83ca-2df2fd2ffb30","languageId":1,"live":false,"locked":false,"modDate":1695337284669,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337284669,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.dc73126e-9ed0-42d1-83ca-2df2fd2ffb30","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 038e3384-a7fe-49e2-b977-97655f560071 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 1 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"baseType":"CONTENT","contentType":"TestContentType","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"cb9ef383975eb9e2e6b71ff2563ef73d","inode":"dc73126e-9ed0-42d1-83ca-2df2fd2ffb30","languageId":1,"live":false,"locked":false,"modDate":1695337284669,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337284669,"sortOrder":0,"stInode":"94a03a7b528590d78d2f752479b24788","title":"test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/content.dc73126e-9ed0-42d1-83ca-2df2fd2ffb30","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0caac06-7ded-4b7b-b54b-847280c3abe3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3 |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
{}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 95 |
| Date | Thu, 21 Sep 2023 23:01:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cb1ad28b-674f-4609-949a-1d90bb13ba8f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=3182B4AACE2DD34D7E7E6363D71D66AC; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MjY4NTM2LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzcyNzEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM2NzF9._NKq3elrrBAX-PRwzw44pLCoNNnheuFEtdKaE1Bbb_s |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:01:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c3c2c73-2bb0-4a9d-a257-37ffac7599ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695337307",
"value": "SucessRequest1695337307"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4069026efd04e010b325e1f578c1d204","inode":"240af528-c4a6-469b-99a0-9a4f375d280e","key":"SucessRequest1695337307","languageId":1,"live":true,"locked":false,"modDate":1695337311133,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337311133,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695337307","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.240af528-c4a6-469b-99a0-9a4f375d280e","value":"SucessRequest1695337307","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3c731127-a0ff-4d99-a68e-77fb06bdc054 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:57 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.validateActionStepAndWorkflow(WorkflowAPIImpl.java:3511)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3360)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c22991e2-6924-4cf7-84cf-a338f1adafc0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:01:57 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 105 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ef6dc66e-a2e9-4320-af78-d1954b604256 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SupportShorty1695337317",
"value": "SupportShorty1695337317"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"6fc887b379d80e6e46a76b201398dcec","inode":"b0a26fd5-9de8-45bb-bfef-55e8a45f048c","key":"SupportShorty1695337317","languageId":1,"live":true,"locked":false,"modDate":1695337317583,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337317583,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SupportShorty1695337317","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b0a26fd5-9de8-45bb-bfef-55e8a45f048c","value":"SupportShorty1695337317","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a3f4cbcb-de9b-434c-9e71-eed7e12f3cae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4069026efd04e010b325e1f578c1d204","inode":"332e1488-449b-4d96-808d-f41d2d7fcbb4","key":"SucessRequest1695337307","languageId":1,"live":true,"locked":false,"modDate":1695337323858,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337323858,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695337307","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.240af528-c4a6-469b-99a0-9a4f375d280e","value":"SucessRequest1695337307","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3eb70ec6-1105-48b0-8613-84f3a295d1e3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695337307",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:10 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 05b52b71-0eaf-492e-9cea-a8aea5834ea4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:10 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:337)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:471)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:407)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:158)\n\tat java.base/sun.nio.ch.Invoker.invoke(Invoker.java:186)\n\tat java.base/sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:193)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f2d8106-e608-408e-9517-26d77270e753 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/80ce1fe51bfb8a330f7b0668725d51e3/asset/james.jpeg","assetContentAsset":"80ce1fe51bfb8a330f7b0668725d51e3/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695337330365,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/41214e53-f998-487b-8113-b282a53d2d16/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"80ce1fe51bfb8a330f7b0668725d51e3","inode":"41214e53-f998-487b-8113-b282a53d2d16","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695337330400,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.41214e53-f998-487b-8113-b282a53d2d16","publishDate":1695337330400,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.41214e53-f998-487b-8113-b282a53d2d16","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 239151bc-7d3f-4070-82c5-f7518e8c4eed |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A10FE706446B094C7B888D269F12E430; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzA4MDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczMTEsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3MTF9.uN4tj6AqNvqynLZKX1gWhGUDeTBDoFvTBekPWAcn04Q |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:02:16 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fa603e7a-15df-45ec-aa1e-f23127db53f5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 169 |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695337337",
"value": "SucessRequest1695337337"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"3b5e882c3b4c3763599db356a8d9e8a5","inode":"e4a5479b-af89-4c57-a9b6-2eb3bc7ff187","key":"SucessRequest1695337337","languageId":1,"live":true,"locked":false,"modDate":1695337340979,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337340979,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695337337","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e4a5479b-af89-4c57-a9b6-2eb3bc7ff187","value":"SucessRequest1695337337","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire a publish action. In the body the contentType is not sent, just the baseType but it doesn't exists so 400.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dff378c0-0103-4cd4-a91d-c6b4da8427ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 200 |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
{
"contentlet":{
"baseType":"BaseTypeNotExist",
"asset":"temp_c41afefd64",
"hostFolder":"48190c8c-42c4-46af-8d1a-0cd5db894797",
"indexPolicy":"WAIT_FOR"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | BaseContentType BaseTypeNotExist does not Exist |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:27 GMT |
| Connection | close |
{"message":"BaseContentType BaseTypeNotExist does not Exist","stacktrace":{"buffer":"java.lang.IllegalArgumentException: BaseContentType BaseTypeNotExist does not Exist\n\tat com.dotcms.contenttype.model.type.BaseContentType.getBaseContentType(BaseContentType.java:115)\n\tat com.dotcms.rest.ContentHelper.tryToSetContentType(ContentHelper.java:118)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:101)\n\tat com.dotcms.rest.ContentHelper.checkOrSetContentType(ContentHelper.java:85)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2748)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 599fc826-27b6-49a0-84ad-e6c226e5715e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-message | No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | application/json |
| Content-Length | 112 |
| Date | Thu, 21 Sep 2023 23:02:27 GMT |
| Connection | close |
{"message":"No enum constant com.dotmarketing.portlets.workflows.business.WorkflowAPI.SystemAction.NONEXISTING"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0993c6ab-b586-4b9f-b745-57df4e568af1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 138 |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
{ "contentlet" : {
"stInode" : "af4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "postman",
"value": "postman"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:27 GMT |
| Connection | close |
{"message":"Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found","stacktrace":{"buffer":"com.dotmarketing.business.DotStateException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:86)\n\tat com.dotcms.rest.ContentHelper.populateContentletFromMap(ContentHelper.java:74)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2752)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.populateContentlet(WorkflowResource.java:2731)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2699)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: com.dotcms.contenttype.exception.NotFoundInDbException: Content Type with id:'af4d7c1b8-2c88-4071-abf1-a5328977b07d' not found\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.dbById(ContentTypeFactoryImpl.java:343)\n\tat com.dotcms.contenttype.business.ContentTypeFactoryImpl.find(ContentTypeFactoryImpl.java:119)\n\tat com.dotcms.contenttype.business.ContentTypeAPIImpl.find(ContentTypeAPIImpl.java:368)\n\tat com.dotcms.rest.MapToContentletPopulator.processMap(MapToContentletPopulator.java:135)\n\tat com.dotcms.rest.MapToContentletPopulator.populate(MapToContentletPopulator.java:83)\n\t... 105 more\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 22a2000a-4840-46c8-84ee-06b4787cc9b6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"KEY_VALUE","contentType":"Languagevariable","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"3b5e882c3b4c3763599db356a8d9e8a5","inode":"2ddfbbb6-6558-4af1-b32f-b31508c13995","key":"SucessRequest1695337337","languageId":1,"live":true,"locked":false,"modDate":1695337347590,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337347590,"sortOrder":0,"stInode":"f4d7c1b8-2c88-4071-abf1-a5328977b07d","title":"SucessRequest1695337337","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.e4a5479b-af89-4c57-a9b6-2eb3bc7ff187","value":"SucessRequest1695337337","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 677555f4-1490-4da9-915a-0c46524d3eb4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
{ "contentlet" : {
"stInode" : "f4d7c1b8-2c88-4071-abf1-a5328977b07d",
"languageId" : 1,
"key": "SucessRequest1695337337",
"value": "postman3"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:33 GMT |
| Connection | close |
{"entity":"","errors":[{"errorCode":"unique","fieldName":"key","message":"The same unique value in field Key is used by more than one content."}],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400, BadRequest | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action uysing the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 09294156-fd65-41d6-8499-8dd58610aa72 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | When no inode is sent the info on the Request body becomes mandatory. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:33 GMT |
| Connection | close |
{"message":"When no inode is sent the info on the Request body becomes mandatory.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: When no inode is sent the info on the Request body becomes mandatory.\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1224)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1347)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2698)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2448)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ac4c4073-5805-492d-8256-3fdab88630b2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
| Content-Length | 5316 |
{"json":"{ \"contentlet\" : {\n \"stInode\" : \"f2d8a1c7-2b77-2081-bcf1-b5348988c08d\"\n}\n}","file":"resources/WorkflowResource/testImages/james.jpeg"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpegIcon","archived":false,"asset":"/dA/e77daefe-b227-4210-a8f8-93a4e3792f6f/asset/james.jpeg","assetContentAsset":"e77daefe-b227-4210-a8f8-93a4e3792f6f/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":4930,"height":186,"isImage":true,"length":4930,"modDate":1695337354101,"name":"james.jpeg","sha256":"34a7edc5d23c9b3c6c93cd7762ed65966abfbd60813edbe22db395d6e7b24bd7","title":"james.jpeg","version":20220201,"width":139},"assetVersion":"/dA/d71922c5-4733-4e65-b6d5-d4088d024b54/asset/james.jpeg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpeg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"e77daefe-b227-4210-a8f8-93a4e3792f6f","inode":"d71922c5-4733-4e65-b6d5-d4088d024b54","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695337354132,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"james.jpeg","owner":"dotcms.org.1","path":"/content.d71922c5-4733-4e65-b6d5-d4088d024b54","publishDate":1695337354132,"size":4930,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"james.jpeg","titleImage":"asset","type":"dotasset","url":"/content.d71922c5-4733-4e65-b6d5-d4088d024b54","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| First binary included | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 407ee5ad-1ae9-473d-b482-a9ba1b4a942f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=C9120EF63FC9407A65E5763CF503AF0D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzM3ODk0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNDAsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NDB9.Kr9e-enf8TX2Oa5FcMR00tw8BnBWAea5MUojDQIaFKw |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:02:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4e53e5d1-f5e5-4b7e-9262-7d14dd5a027a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:02:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fac000ce-0359-4deb-8b83-b0de45daaa61 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337364599,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"58609af2-da91-4093-a665-a1ca539b0900","mandatory":false,"modDate":1695337364599,"name":"Copy from REST (automatic)","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 40db06df-9c88-4894-bd11-1e1d568fd373 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.copyScheme(WorkflowResource.java:2970)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9200f99a-6417-42ce-8785-5ae4109ae13b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4 |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:50 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337367742,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"756fc68e-a2aa-4f8e-910a-77e935844298","mandatory":false,"modDate":1695337367742,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e12c4318-3215-42e6-986c-70f7430221ac |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4 |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337370866,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"ddf11e54-73c5-41ab-98d9-066253b58ca2","mandatory":false,"modDate":1695337370867,"name":"Copy from REST (automatic)_limited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Do a copy of an existing scheme
@Path("/schemes/{schemeId}/copy")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4c9acb13-55dd-4e02-b103-77ccc49faaa8 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 47 |
| Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4 |
{ "name":"Copy from REST (automatic)_limited" }
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:02:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337373953,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"21572a84-3229-427b-8e60-c81b5a1df534","mandatory":false,"modDate":1695337373953,"name":"Copy Using ShortlyID","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d2b6fcef-e841-4258-993c-992b9c831911 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=A08DF0F3653E15DC25367DE80D86094D; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzYxNTg0LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczNjQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3NjR9.y_enK6AjYaWcOuwVw051yZop9hqilXeqS4RIfUQdrm4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:02:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 32d5639e-f6a9-4955-b44a-2a90482cb370 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:02:56 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 83e75581-fb74-4a2f-857a-7b06ec9e969a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337381236,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"cade7e37-12eb-4774-939f-3094073b1dc9","myOrder":0,"name":"REST step Updated again","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c187727d-9394-4ca6-bc4a-2a14764abf67 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:04 GMT |
| Connection | close |
{"message":"Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.","stacktrace":{"buffer":"com.dotmarketing.exception.DotDataValidationException: Can not delete Workflow Step 'Draft'; This Step is being referenced by Workflow Action 'Save' in Workflow Step : 'New'.\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.doDeleteStep(WorkflowAPIImpl.java:1073)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.deleteStep(WorkflowAPIImpl.java:1031)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1133)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | be677195-1fdd-4d83-95b4-55f56d51ec4e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:04 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteStep(WorkflowHelper.java:1126)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteStep(WorkflowResource.java:1168)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bebfb993-331c-4d69-b601-4358b5237377 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A |
{ "schemeId" : "f05deff8-27a4-4272-ae0a-e18ab2a11c1e", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:07 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337384564,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c9e1be99-3de6-4e17-a6e5-c17ab6f855b4","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This method deletes a step using the ID
@Path("/steps/{stepId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ad51cd7d-683f-467e-aba7-b94a7d128b14 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337387614,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"c9e1be99-3de6-4e17-a6e5-c17ab6f855b4","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c85c4f2d-5473-4534-9b43-a480959b7a56 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=89BC3C286EFEE59EE28F05A31C7ABC2A |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:03:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 200427ff-d249-4169-9edb-89d0f779403d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:03:10 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 674a0f95-e211-497d-9ed9-73a96659e0ca |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:03:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic Y2hyaXNAZG90Y21zLmNvbTpjaHJpcw== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e39bdfdc-ae0c-47a6-849a-1e047b2ec4e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:17 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1175)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1231)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8168f11e-91b6-4c16-915a-5f94f57817be |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
{ "schemeId" : "f05deff8-27a4-4272-ae0a-e18ab2a11c1e", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337397948,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"e5b03c9d-6411-44a3-85cc-327461dd61c4","myOrder":2,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d390e748-3ec4-44ff-b437-379b747f9c03 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
{
"stepId": "e5b03c9d-6411-44a3-85cc-327461dd61c4",
"actionName": "saveContent FROM REST NEW",
"schemeId": "f05deff8-27a4-4272-ae0a-e18ab2a11c1e",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"497415e3-a597-489a-8e1e-55bd0f27dd3b","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the scheme and all references into steps
@Path("/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a01eabe0-b1bd-423a-9a19-fa7535a1b0de |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:03:30 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dd1ad018-7251-4bf3-b29c-f9bfebdd61a1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
{ "schemeId" : "f05deff8-27a4-4272-ae0a-e18ab2a11c1e", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337410128,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"33174837-04de-4921-b726-cb35c6c86a1e","myOrder":3,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 31791e88-d9c9-49c2-b525-1c2532df2b3a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
{
"stepId": "33174837-04de-4921-b726-cb35c6c86a1e",
"actionName": "saveContent FROM REST NEW",
"schemeId": "f05deff8-27a4-4272-ae0a-e18ab2a11c1e",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"e379500a-6437-4ae4-b75f-ec3f7ef5209b","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eaa1b769-5f40-4b95-9da1-1feaa8858343 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=2C74F08F2E332CEE2C482408ACBCFA6A; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3MzkxODEzLCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzczOTQsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM3OTR9.g9EhRgaXlYTU7TmLvtNggh6LIexn5O6Gvpf4WQ3OKsQ |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:03:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 267069e7-0c21-4a1a-a345-dc6d7333783c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:03:39 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 2 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 4 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 52fbaaca-147a-4b85-8f79-e06bda8a8e7e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:03:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7688f30e-a652-4219-9f72-d551e6772ae3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-step |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Step does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-step\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findStep(WorkflowFactoryImpl.java:917)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findStep(WorkflowAPIImpl.java:2021)\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1210)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b5f9b526-4840-4c90-be44-1a179d3e4dc4 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-action |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Action does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-action\n\tat com.dotcms.workflow.helper.WorkflowHelper.deleteAction(WorkflowHelper.java:1213)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteAction(WorkflowResource.java:1199)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Add a new workflow step
@Path("/steps")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 35e431de-2dbb-4b47-b537-10eb0d21f1b9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 175 |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
{ "schemeId" : "f05deff8-27a4-4272-ae0a-e18ab2a11c1e", "stepName":"My REST step", "enableEscalation":false, "escalationAction":"", "escalationTime":"0","stepResolved":false}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:49 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"creationDate":1695337426608,"enableEscalation":false,"escalationAction":null,"escalationTime":0,"id":"0e672ec6-2ec1-43f6-8874-03b283d4d04e","myOrder":4,"name":"My REST step","resolved":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Saves an action, by default the action is associated to the schema, however if the stepId is set will be automatically associated to the step too.
@Path("/actions")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3eb3264a-8e16-429e-aa72-ae35b4676596 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 532 |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
{
"stepId": "0e672ec6-2ec1-43f6-8874-03b283d4d04e",
"actionName": "saveContent FROM REST NEW",
"schemeId": "f05deff8-27a4-4272-ae0a-e18ab2a11c1e",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse":[],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:03:55 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"470cd621-6bf9-4a8f-af5c-4ce245f2c770","name":"saveContent FROM REST NEW","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an action associated to the step
@Path("/steps/{stepId}/actions/{actionId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 66aa7f10-9935-497e-ad36-e3d57f8c38ff |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:03:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 36e3c424-c0e8-42a9-8757-0929ce770909 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=15A90E35F8224EB559C5D557167F2745; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDIwNDM1LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0MjMsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4MjN9.67-MDKbV6y2bacK7TrTx4x5c37LLVdGydSNIqGUDjZ4 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:03:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Logout successfully","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 96bb9a17-cfae-49fb-913a-e5d5c1af09ed |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Content-Type | text/plain |
| Content-Length | 12 |
| Date | Thu, 21 Sep 2023 23:03:58 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
Invalid User
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7640dc4e-f86b-4786-bfe7-a74c6abec07f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Set-Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; Path=/; Secure; HttpOnly; SameSite=Lax |
| Set-Cookie | access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM; Path=/; HttpOnly; SameSite=Lax |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:05 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337442991,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337442993,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 98f9a74d-8e72-4f6a-ba96-5242650e9f9d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337446038,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f05deff8-27a4-4272-ae0a-e18ab2a11c1e","mandatory":false,"modDate":1695337446060,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 2 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c46f98d3-c2a0-4a26-b9b3-61860b65e778 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Workflow-does-not-exists-scheme |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"The Workflow Scheme does not exist","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: Workflow-does-not-exists-scheme\n\tat com.dotmarketing.portlets.workflows.business.WorkflowFactoryImpl.findScheme(WorkflowFactoryImpl.java:843)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.findScheme(WorkflowAPIImpl.java:604)\n\tat com.dotcms.workflow.helper.WorkflowHelper.delete(WorkflowHelper.java:1955)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.deleteScheme(WorkflowResource.java:3159)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a new scheme
@Path("/schemes")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de7bf931-c2f1-4a7f-b1cb-86b5d475ce4b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 86 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"schemeName": "REST Schema", "schemeDescription": "rest1", "schemeArchived": "false"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"creationDate":1695337449292,"defaultScheme":false,"description":"rest1","entryActionId":null,"id":"f4314f0f-8d18-4700-9071-26896b8b215d","mandatory":false,"modDate":1695337449293,"name":"REST Schema","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response includes name | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Updates an existing scheme
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ed937642-04af-49b3-9ac7-cc12462a2520 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 106 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"schemeName": "WF_Import_AsAdmin_edited", "schemeDescription": "AutomaticTest", "schemeArchived": "true"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337452335,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f4314f0f-8d18-4700-9071-26896b8b215d","mandatory":false,"modDate":1695337452336,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Deletes an existing scheme (the response is async)
@Path("/schemes/{schemeId}")
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee083e1a-1ee4-4638-8bb4-deee3269befa |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:18 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":true,"creationDate":1695337455376,"defaultScheme":false,"description":"AutomaticTest","entryActionId":null,"id":"f4314f0f-8d18-4700-9071-26896b8b215d","mandatory":false,"modDate":1695337452336,"name":"WF_Import_AsAdmin_edited","system":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200, You need credentials | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a content type to associate a system workflow
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fc78a428-6be0-41e4-a63d-0991d08ca039 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 432 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"defaultType":false,
"fixed":false,
"system":false,
"clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"description":"",
"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d",
"folder":"SYSTEM_FOLDER",
"name":"TestContentTypeSystemActions",
"systemActionMappings":{
"NEW":"ceca71a0-deee-4999-bd47-b01baa1bcfc8"
},
"workflow":[
"d61a59e1-a49c-46f2-a929-db2b4bfa88b2"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:24 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"fields":[],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337458000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337465000,"indexed":false,"listed":false,"modDate":1695337465000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"14b9c05499ba48cd8a38400b35529c2a","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337465000,"indexed":false,"listed":false,"modDate":1695337465000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":-1,"unique":false},"fields":[]}]}],"modDate":1695337458000,"multilingualable":false,"name":"TestContentTypeSystemActions","siteName":"default","sortOrder":0,"system":false,"systemActionMappings":{"NEW":{"identifier":"c778a637-f65c-44ff-b5a9-320f05d7b3dd","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337458000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695337458000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}},"variable":"TestContentTypeSystemActions","versionable":true,"workflows":[{"archived":false,"creationDate":1695337464535,"defaultScheme":false,"description":"","entryActionId":null,"id":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","mandatory":false,"modDate":1695337394846,"name":"System Workflow","system":true}]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Create for the new content type a new mapping for EDIT
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf138a99-857f-4c8e-b475-c20a7861099b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionId":"b9d89c80-3d88-4311-8365-187323c96436",
"systemAction":"EDIT",
"contentTypeVariable":"TestContentTypeSystemActions"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"identifier":"d8eafabf-cbf0-47b0-a18f-56a3bb99f868","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337458000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695337458000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Get the two content types
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 41e15337-a22c-4162-a964-df8c802c1ecc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"identifier":"c778a637-f65c-44ff-b5a9-320f05d7b3dd","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337458000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695337458000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"NEW","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"ceca71a0-deee-4999-bd47-b01baa1bcfc8","name":"Save","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"ee24a4cb-2d15-4c98-b1bd-6327126451f3","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false},{"identifier":"d8eafabf-cbf0-47b0-a18f-56a3bb99f868","owner":{"defaultType":false,"description":null,"detailPage":null,"expireDateVar":null,"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337458000,"icon":"event_note","id":"14b9c05499ba48cd8a38400b35529c2a","modDate":1695337458000,"multilingualable":false,"name":"TestContentTypeSystemActions","owner":null,"publishDateVar":null,"siteName":"default","sortOrder":0,"system":false,"urlMapPattern":null,"variable":"TestContentTypeSystemActions","versionable":true},"systemAction":"EDIT","workflowAction":{"assignable":false,"commentable":false,"condition":"","icon":"workflowIcon","id":"b9d89c80-3d88-4311-8365-187323c96436","name":"Publish","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"dc3c9cd0-8467-404b-bf95-cb7df3fbc293","nextStepCurrentStep":false,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["EDITING","UNPUBLISHED","LOCKED","LISTING","UNLOCKED","NEW","PUBLISHED"]},"ownerContentType":true,"ownerScheme":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Return 2 items | 1 | 0 | 0 |
| Has New System Action | 1 | 0 | 0 |
| New has a Save Action | 1 | 0 | 0 |
| Has Edit System Action | 1 | 0 | 0 |
| New has a Save/Publish Action | 1 | 0 | 0 |
| Total | 6 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | abbdde41-7bd5-452e-aa08-4f5517a1d3a0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:33 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1c69e172bf79fabe7fafa01e972b8372","inode":"b235f7f2-4472-4e5f-89a7-afc8ac188559","languageId":1,"live":false,"locked":false,"modDate":1695337467723,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337467723,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"1c69e172bf79fabe7fafa01e972b8372","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b235f7f2-4472-4e5f-89a7-afc8ac188559","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an EDIT default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5395a74f-1d59-409f-8d3f-45f22b4b5518 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2300bf0a394d24d045e5977db41ef77a","inode":"63b44775-6fd6-4f33-bc16-2622fb8547f0","languageId":1,"live":true,"locked":false,"modDate":1695337473895,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337473895,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"2300bf0a394d24d045e5977db41ef77a","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.63b44775-6fd6-4f33-bc16-2622fb8547f0","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fires an PUBLISH default action
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eab749d2-0ddc-49ae-ba8c-9bb9a6e25c82 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 112 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Adding New Content type",
"contentlet": {
"contentType":"TestContentTypeSystemActions"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"TestContentTypeSystemActions","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a425a892e77ca27b54ccef6ff129ca1f","inode":"42fd8467-8de2-4359-a73d-a518165fc300","languageId":1,"live":true,"locked":false,"modDate":1695337480163,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337480163,"sortOrder":0,"stInode":"14b9c05499ba48cd8a38400b35529c2a","title":"a425a892e77ca27b54ccef6ff129ca1f","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.42fd8467-8de2-4359-a73d-a518165fc300","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Publish Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3bc66ad7-df8f-434e-9483-1c1d788e17e1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Content-Length | 0 |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 114 |
| Date | Thu, 21 Sep 2023 23:04:46 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"hostSwitched":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ef59489b-507c-49d5-aeaa-a234e19ce95d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Adding New Generic content",
"contentlet": {
"contentType":"webPageContent",
"title":"Test Merge Content",
"body":"Test Merge Body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:04:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ce1431864827bb44b7c8fc9fc449b57f","inode":"ec6c5d00-8d4a-4597-b8a1-02573cad838c","languageId":1,"live":false,"locked":false,"modDate":1695337486480,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337486480,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ec6c5d00-8d4a-4597-b8a1-02573cad838c","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1245564d-1a4f-4bb3-b2fe-1e0b73e84bae |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 197 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Publish an existing Generic content",
"query":"+contentType:webPageContent AND title:\"Test Merge Content\"",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:05:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"ce1431864827bb44b7c8fc9fc449b57f":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","body":"Test Merge Body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ce1431864827bb44b7c8fc9fc449b57f","inode":"a9e4f3e1-5ae9-42dc-81fb-8a8605d24785","languageId":1,"live":true,"locked":false,"modDate":1695337493409,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337493409,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test Merge Content Published","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ec6c5d00-8d4a-4597-b8a1-02573cad838c","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6942}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 77c41ec4-e0ec-4a48-913f-a4f15331bd3c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 153 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"contentType":"webPageContent",
"title":"Test title",
"body":"Test body",
"contentHost":"default"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:05:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":false,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"6f116412f595d1d47d64b65f8f2f3914","inode":"1f72485d-05b2-43f0-8fd8-d76ba7124748","languageId":1,"live":false,"locked":false,"modDate":1695337500383,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337500383,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test title","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.1f72485d-05b2-43f0-8fd8-d76ba7124748","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1a673e2e-48cd-4fbd-b176-f0e748818a3e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:05:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"811e3dda-049f-48d9-a96c-10f0dc341047":{"errorMessage":"Content not found","identifier":null,"inode":"811e3dda-049f-48d9-a96c-10f0dc341047"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":10}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 54f12f0f-9eea-4bf2-9620-e684792d145a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 121 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"comments":"Publish an existing Generic content",
"contentlet": {
"title":"Test Merge Content Published"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:05:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"xxxx":{"errorMessage":"Content not found","identifier":null,"inode":"xxxx"}}],"summary":{"affected":1,"failCount":1,"successCount":0,"time":1}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Content Not Found | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e5e4a439-f161-44f7-9bd4-2e6ab35699cb |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 3448 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1",
"contentHost":"default",
"body":"Body Content1"
},
{
"contentType":"webPageContent",
"title":"Content2",
"contentHost":"default",
"body":"Body Content2"
},
{
"contentType":"webPageContent",
"title":"Content3",
"contentHost":"default",
"body":"Body Content3"
},
{
"contentType":"webPageContent",
"title":"Content4",
"contentHost":"default",
"body":"Body Content4"
},
{
"contentType":"webPageContent",
"title":"Content5",
"contentHost":"default",
"body":"Body Content5"
},
{
"contentType":"webPageContent",
"title":"Content6",
"contentHost":"default",
"body":"Body Content6"
},
{
"contentType":"webPageContent",
"title":"Content7",
"contentHost":"default",
"body":"Body Content7"
},
{
"contentType":"webPageContent",
"title":"Content8",
"contentHost":"default",
"body":"Body Content8"
},
{
"contentType":"webPageContent",
"title":"Content9",
"contentHost":"default",
"body":"Body Content9"
},
{
"contentType":"webPageContent",
"title":"Content10",
"contentHost":"default",
"body":"Body Content10"
},
{
"contentType":"webPageContent",
"title":"Content11",
"contentHost":"default",
"body":"Body Content11"
},
{
"contentType":"webPageContent",
"title":"Content12",
"contentHost":"default",
"body":"Body Content12"
},
{
"contentType":"webPageContent",
"title":"Content13",
"contentHost":"default",
"body":"Body Content13"
},
{
"contentType":"webPageContent",
"title":"Content14",
"contentHost":"default",
"body":"Body Content14"
},
{
"contentType":"webPageContent",
"title":"Content15",
"contentHost":"default",
"body":"Body Content15"
},
{
"contentType":"webPageContent",
"title":"Content16",
"contentHost":"default",
"body":"Body Content16"
},
{
"contentType":"webPageContent",
"title":"Content17",
"contentHost":"default",
"body":"Body Content17"
},
{
"contentType":"webPageContent",
"title":"Content18",
"contentHost":"default",
"body":"Body Content18"
},
{
"contentType":"webPageContent",
"title":"Content19",
"contentHost":"default",
"body":"Body Content19"
},
{
"contentType":"webPageContent",
"title":"Content20",
"contentHost":"default",
"body":"Body Content20"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:05:44 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"4ff4090794071265c9aa3266f69914d3":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content2","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"4ff4090794071265c9aa3266f69914d3","inode":"a7ea79ec-cff0-4966-9a8a-07fa36b410ab","languageId":1,"live":true,"locked":false,"modDate":1695337506748,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337506748,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content2","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a7ea79ec-cff0-4966-9a8a-07fa36b410ab","working":true}},{"8f7f95cf20af163f74d5d9c066f9c343":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"8f7f95cf20af163f74d5d9c066f9c343","inode":"ccad142f-2b08-44a3-9a67-c5700ad89598","languageId":1,"live":true,"locked":false,"modDate":1695337506750,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337506750,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.ccad142f-2b08-44a3-9a67-c5700ad89598","working":true}},{"272c79ff77f47f9703a334f35b2254d1":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content3","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"272c79ff77f47f9703a334f35b2254d1","inode":"d4b2f7a3-d9fb-4113-909e-22ceb5be9163","languageId":1,"live":true,"locked":false,"modDate":1695337512977,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337512977,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content3","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d4b2f7a3-d9fb-4113-909e-22ceb5be9163","working":true}},{"835aacd93209425044a40fb83045063e":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content4","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"835aacd93209425044a40fb83045063e","inode":"4003b16d-c704-471e-812e-76eb58798cda","languageId":1,"live":true,"locked":false,"modDate":1695337513033,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337513033,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content4","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.4003b16d-c704-471e-812e-76eb58798cda","working":true}},{"f4d441222de14a63a96288b2ff7420d9":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content5","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"f4d441222de14a63a96288b2ff7420d9","inode":"f9193a3d-362e-4190-9e37-7dd5e4e5e9e5","languageId":1,"live":true,"locked":false,"modDate":1695337519189,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337519189,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content5","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f9193a3d-362e-4190-9e37-7dd5e4e5e9e5","working":true}},{"95f5ec46db0b8154b453c09b51ccef98":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content6","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"95f5ec46db0b8154b453c09b51ccef98","inode":"f2de6fb4-5d31-4855-985d-3b57cef43301","languageId":1,"live":true,"locked":false,"modDate":1695337519297,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337519297,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content6","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f2de6fb4-5d31-4855-985d-3b57cef43301","working":true}},{"fb98afe806251cc70b0acfd7a06853f5":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content7","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"fb98afe806251cc70b0acfd7a06853f5","inode":"d3b50a80-3ac0-4f7b-bf31-69c7a1c3aad3","languageId":1,"live":true,"locked":false,"modDate":1695337525378,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337525378,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content7","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d3b50a80-3ac0-4f7b-bf31-69c7a1c3aad3","working":true}},{"1f943d622c0b8d932da732a7f77844d6":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content8","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1f943d622c0b8d932da732a7f77844d6","inode":"abeaa462-77ad-4c44-8b67-3fc7e676b5f1","languageId":1,"live":true,"locked":false,"modDate":1695337525607,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337525607,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content8","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.abeaa462-77ad-4c44-8b67-3fc7e676b5f1","working":true}},{"cd11cccfc4da3f788aef1268f0ced1a5":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content9","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cd11cccfc4da3f788aef1268f0ced1a5","inode":"b61ec526-73e5-4cda-931f-51729734bc63","languageId":1,"live":true,"locked":false,"modDate":1695337531561,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337531561,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content9","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b61ec526-73e5-4cda-931f-51729734bc63","working":true}},{"bb1f4e581eafa7172334154589b0a752":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content10","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"bb1f4e581eafa7172334154589b0a752","inode":"a546a168-62a9-4f30-93ac-7e42f8eaebd2","languageId":1,"live":true,"locked":false,"modDate":1695337531777,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337531777,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content10","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.a546a168-62a9-4f30-93ac-7e42f8eaebd2","working":true}},{"baa8532e253841a5dbce9c640bcce571":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content11","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"baa8532e253841a5dbce9c640bcce571","inode":"7d545701-3c2a-4310-8dd4-ac87688b857c","languageId":1,"live":true,"locked":false,"modDate":1695337537807,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337537807,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7d545701-3c2a-4310-8dd4-ac87688b857c","working":true}},{"b61576dfc05621fc1e51d1a89c6bf85b":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content12","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"b61576dfc05621fc1e51d1a89c6bf85b","inode":"d31a048b-93ba-40cf-8000-7d49a0f1a82f","languageId":1,"live":true,"locked":false,"modDate":1695337537987,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337537987,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content12","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.d31a048b-93ba-40cf-8000-7d49a0f1a82f","working":true}},{"c4822cc8f088a1f639fddf97631a1481":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content13","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c4822cc8f088a1f639fddf97631a1481","inode":"16aa3c1d-8164-484c-80af-4ec5634e8ac3","languageId":1,"live":true,"locked":false,"modDate":1695337544024,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337544024,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content13","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.16aa3c1d-8164-484c-80af-4ec5634e8ac3","working":true}},{"39d2c21ca93948d74f53bedbcb6a9249":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content14","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"39d2c21ca93948d74f53bedbcb6a9249","inode":"72b0f54b-03ab-440d-8775-46d8626e19cf","languageId":1,"live":true,"locked":false,"modDate":1695337544194,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337544194,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content14","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.72b0f54b-03ab-440d-8775-46d8626e19cf","working":true}},{"62adbb115ee817d2e9788ae08b5f104c":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content15","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"62adbb115ee817d2e9788ae08b5f104c","inode":"88c0d511-3b28-49ab-99ff-8698430b7e74","languageId":1,"live":true,"locked":false,"modDate":1695337550188,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337550188,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content15","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.88c0d511-3b28-49ab-99ff-8698430b7e74","working":true}},{"cb07a974dc00060e9b1988d9c1d261ca":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content16","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"cb07a974dc00060e9b1988d9c1d261ca","inode":"f55a0e8c-02b8-4a97-8424-338a53dbcfa8","languageId":1,"live":true,"locked":false,"modDate":1695337550365,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337550365,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content16","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.f55a0e8c-02b8-4a97-8424-338a53dbcfa8","working":true}},{"724f5dc752b1cd3e34bf968ab994bdf7":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content17","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"724f5dc752b1cd3e34bf968ab994bdf7","inode":"cda0da4c-5e8e-4194-986a-24c4ce8d501d","languageId":1,"live":true,"locked":false,"modDate":1695337556397,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337556397,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content17","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.cda0da4c-5e8e-4194-986a-24c4ce8d501d","working":true}},{"5ef1057702b710bd1fdea5edf1ac9757":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content18","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"5ef1057702b710bd1fdea5edf1ac9757","inode":"7c3172fa-74fb-4b88-898f-eb206d430285","languageId":1,"live":true,"locked":false,"modDate":1695337556614,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337556614,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content18","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.7c3172fa-74fb-4b88-898f-eb206d430285","working":true}},{"ebe8c12494d4f354a3352d0aa16606ca":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content19","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"ebe8c12494d4f354a3352d0aa16606ca","inode":"95421476-3127-40b8-ad2a-83aba9d98d4f","languageId":1,"live":true,"locked":false,"modDate":1695337562537,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337562537,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content19","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.95421476-3127-40b8-ad2a-83aba9d98d4f","working":true}},{"a53fa68d5063cc8bd9f8dc7db41e602a":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content20","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"a53fa68d5063cc8bd9f8dc7db41e602a","inode":"b03a9e9a-8242-42ab-9851-41045b4a8e97","languageId":1,"live":true,"locked":false,"modDate":1695337562804,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337562804,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content20","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.b03a9e9a-8242-42ab-9851-41045b4a8e97","working":true}}],"summary":{"affected":20,"failCount":0,"successCount":20,"time":62332}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Information Saved Correctly | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets but some of them are sent without ContentType so it should fail
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0ff36319-b4f0-4553-90fc-eef581e627d1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 336 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlets":[
{
"contentType":"webPageContent",
"title":"Content1 SUCCESS",
"contentHost":"default",
"body":"Body Content1"
},
{
"title":"Content2 FAIL",
"contentHost":"default",
"body":"Body Content2"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"{title=Content2 FAIL, contentHost=default, body=Body Content2}":{"errorMessage":"Content Type does not exist","identifier":null,"inode":null}},{"1cb172510a0770d1fc11767c3a7069e2":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Body Content1","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1cb172510a0770d1fc11767c3a7069e2","inode":"8edb0512-e3ef-4d42-bd1d-5facca0d9b16","languageId":1,"live":true,"locked":false,"modDate":1695337569131,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337569131,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Content1 SUCCESS","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.8edb0512-e3ef-4d42-bd1d-5facca0d9b16","working":true}}],"summary":{"affected":2,"failCount":1,"successCount":1,"time":6220}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates a temporal file to be uploaded later
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Origin | http://localhost:8080 |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5db1432e-7ed8-49f7-b347-1a42a4086075 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 137 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"fileName":"250px-Bocas2.jpg",
"remoteUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Bocas2.jpg/250px-Bocas2.jpg"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"tempFiles":[{"fileName":"250px-Bocas2.jpg","folder":"","id":"temp_3dc24250f7","image":true,"length":10555,"mimeType":"image/jpeg","referenceUrl":"/dA/temp_3dc24250f7/tmp/250px-Bocas2.jpg","thumbnailUrl":"/contentAsset/image/temp_3dc24250f7/tmp/filter/Thumbnail/thumbnail_w/250/thumbnail_h/250/250px-Bocas2.jpg"}]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| File name check | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Creates several contentlets with binary fields on them, to achieve this the file must be uploaded first using the temp resource.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 895caad3-56c2-4505-a0a5-c27fa27ebec2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 162 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlets":[
{
"contentType":"DotAsset",
"asset":"temp_3dc24250f7",
"hostFolder":"default"
}
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"results":[{"73182827975daf52703fd6db10f80e71":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"jpgIcon","archived":false,"asset":"/dA/73182827975daf52703fd6db10f80e71/asset/250px-Bocas2.jpg","assetContentAsset":"73182827975daf52703fd6db10f80e71/asset","assetMetaData":{"contentType":"image/jpeg","fileSize":10555,"height":187,"isImage":true,"length":10555,"modDate":1695337576062,"name":"250px-Bocas2.jpg","sha256":"735c49b3d9ee65891ae038fa7005cff339d66414a4c8aeefa9900c855d637a61","title":"250px-Bocas2.jpg","version":20220201,"width":250},"assetVersion":"/dA/3b10c5cc-843e-4baa-a5b5-a4474f3597aa/asset/250px-Bocas2.jpg","baseType":"DOTASSET","contentType":"DotAsset","extension":"jpg","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"73182827975daf52703fd6db10f80e71","inode":"3b10c5cc-843e-4baa-a5b5-a4474f3597aa","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"image/jpeg","modDate":1695337576129,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"250px-Bocas2.jpg","owner":"dotcms.org.1","path":"/content.3b10c5cc-843e-4baa-a5b5-a4474f3597aa","publishDate":1695337576129,"size":10555,"sortOrder":0,"stInode":"f2d8a1c7-2b77-2081-bcf1-b5348988c08d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"250px-Bocas2.jpg","titleImage":"asset","type":"dotasset","url":"/content.3b10c5cc-843e-4baa-a5b5-a4474f3597aa","working":true}}],"summary":{"affected":1,"failCount":0,"successCount":1,"time":6179}},"errors": [],
"i18nMessagesMap": {},
"messages": [],
"permissions": []}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Errors | 1 | 0 | 0 |
| Success | 1 | 0 | 0 |
| Affected | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5117be6d-799e-4884-860e-e9a1ffa628c0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"8907c8d0-f187-4089-b95c-1e2172aeab0a","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e9fbc195-2ea6-4a88-946e-92283b8927d2 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:06:31 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8ddf75b7-52e5-43e3-b0a5-af211d8e2c29 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:37 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"8eee18d4-1610-4a94-a93f-789dbb79f280","isContentlet":true,"languageId":1,"live":true,"liveInode":"8eee18d4-1610-4a94-a93f-789dbb79f280","locked":false,"mimeType":"application/dotpage","modDate":1695337591495,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695337591495,"shortyLive":"8eee18d416","shortyWorking":"8eee18d416","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"8eee18d4-1610-4a94-a93f-789dbb79f280"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c1bfe651-8618-49ae-afc3-e27d33d9cb54 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__icon__":"pageIcon","_path_to_move":"//default/moveto","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"d4381981618af4daa59a925ee70d30c3","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"9175a351dae9a6884089e6369ed55b8c","inode":"8eee18d4-1610-4a94-a93f-789dbb79f280","isContentlet":true,"languageId":1,"live":true,"liveInode":"8eee18d4-1610-4a94-a93f-789dbb79f280","locked":false,"mimeType":"application/dotpage","modDate":1695337591495,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/moveto/pageassetcontentalreadyexistsmove","publishDate":1695337591495,"shortyLive":"8eee18d416","shortyWorking":"8eee18d416","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/pageassetcontentalreadyexistsmove","working":true,"workingInode":"8eee18d4-1610-4a94-a93f-789dbb79f280"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dc5d8f5a-b3c1-4e86-9ecf-8d5941cbb33b |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 379 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"stName": "htmlpageasset",
"title": "PageAsset ContentAlreadyExists Move",
"url": "pageassetcontentalreadyexistsmove",
"friendlyName":"pageassetsystemtemplate",
"template": "//default/application/templates/system/",
"sortOrder": "0",
"cachettl": "100",
"hostFolder":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:54 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"pageIcon","archived":false,"baseType":"HTMLPAGE","cachettl":"100","canEdit":false,"canLock":false,"canRead":false,"contentType":"htmlpageasset","description":"pageassetsystemtemplate","extension":"page","folder":"SYSTEM_FOLDER","friendlyName":"pageassetsystemtemplate","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"2e5f8936-b195-4100-9d36-6a6dd2f6ecfc","inode":"80892d0b-565b-469b-9912-2a1cdba67194","isContentlet":true,"languageId":1,"live":true,"liveInode":"80892d0b-565b-469b-9912-2a1cdba67194","locked":false,"mimeType":"application/dotpage","modDate":1695337607732,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"pageassetcontentalreadyexistsmove","owner":"dotcms.org.1","path":"/pageassetcontentalreadyexistsmove","publishDate":1695337607732,"shortyLive":"80892d0b56","shortyWorking":"80892d0b56","sortOrder":0,"stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","template":"//default/application/templates/system/","title":"PageAsset ContentAlreadyExists Move","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/pageassetcontentalreadyexistsmove","working":true,"workingInode":"80892d0b-565b-469b-9912-2a1cdba67194"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Identifier must contains path | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c130cffa-2e77-4fef-b11b-b4d242dcc151 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/ |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:06:54 GMT |
| Connection | close |
{"message":"Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Content with the same name: 'pageassetcontentalreadyexistsmove' already exists at the new path: default/moveto/\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:538)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:481)\n\tat com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.move(ESContentletAPIImpl.java:413)\n\tat com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.move(ContentletAPIInterceptor.java:650)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.lambda$executeAction$5e0ff813$1(MoveContentActionlet.java:78)\n\tat io.vavr.control.Try.of(Try.java:75)\n\tat com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet.executeAction(MoveContentActionlet.java:78)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireWorkflowPostCheckin(WorkflowAPIImpl.java:2410)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.lambda$fireContentWorkflow$73(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.util.ThreadContextUtil.wrapVoidNoReindex(ThreadContextUtil.java:85)\n\tat com.dotmarketing.portlets.workflows.business.WorkflowAPIImpl.fireContentWorkflow(WorkflowAPIImpl.java:3368)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1604)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionSinglePart(WorkflowResource.java:2455)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6b317d5d-4242-4542-a591-f0ee1df0abbc |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 496 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"stepId": "dc3c9cd0-8467-404b-bf95-cb7df3fbc293",
"actionName": "Move Test",
"schemeId": "d61a59e1-a49c-46f2-a929-db2b4bfa88b2",
"actionCondition": "",
"actionNextStep": "currentstep",
"actionNextAssign": "654b0931-1027-41f7-ad4d-173115ed8ec1",
"actionRoleHierarchyForAssign": false,
"actionAssignable": false,
"actionCommentable": true,
"whoCanUse": [],
"showOn": [
"UNPUBLISHED",
"NEW",
"LOCKED",
"PUBLISHED"
]
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:00 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"assignable":false,"commentable":true,"condition":"","icon":"workflowIcon","id":"74387d65-2c9e-44d4-949b-72ef6232427e","name":"Move Test","nextAssign":"654b0931-1027-41f7-ad4d-173115ed8ec1","nextStep":"currentstep","nextStepCurrentStep":true,"order":0,"owner":null,"roleHierarchyForAssign":false,"schemeId":"d61a59e1-a49c-46f2-a929-db2b4bfa88b2","showOn":["UNPUBLISHED","LOCKED","NEW","PUBLISHED"]},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| No errors | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b83eed8a-47f7-4f5d-abec-b7246e2dc009 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 93 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionletClass":"com.dotmarketing.portlets.workflows.actionlet.MoveContentActionlet"
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json |
| Content-Length | 97 |
| Date | Thu, 21 Sep 2023 23:07:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":"Ok","errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fb0af3c0-ab53-4a53-ae2d-a1ae4b68f4ba |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 154 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"contentType": "webPageContent",
"title":"Test",
"body":"Test",
"contentHost":"SYSTEM_HOST"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"54558d9294a8796f1c8dc6c83b8c11f0","inode":"2416a04e-7dc6-4314-bd03-e3109356210e","languageId":1,"live":true,"locked":false,"modDate":1695337623322,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337623322,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.2416a04e-7dc6-4314-bd03-e3109356210e","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9c3f0f0e-bf28-450a-86d2-426b5375dca1 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"pathToMove":"//default/moveto",
"contentlet":{}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"_path_to_move":"//default/moveto","archived":false,"baseType":"CONTENT","body":"Test","contentType":"webPageContent","folder":"d4381981618af4daa59a925ee70d30c3","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"54558d9294a8796f1c8dc6c83b8c11f0","inode":"2416a04e-7dc6-4314-bd03-e3109356210e","languageId":1,"live":true,"locked":false,"modDate":1695337623322,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337623322,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test","titleImage":"TITLE_IMAGE_NOT_FOUND","to_be_publish":false,"url":"/moveto/content.2416a04e-7dc6-4314-bd03-e3109356210e","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6f75037-c430-4bbf-9cb9-a565dc1442c7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","host":{"aliases":null,"archived":false,"categoryId":"1b407535-67e3-4f21-ad00-8ef5ef492d64","contentTypeId":"855a2d72-f2f3-4169-8b04-ac5157c4380c","default":true,"dotAsset":false,"fileAsset":false,"folder":"SYSTEM_FOLDER","form":false,"host":"SYSTEM_HOST","hostThumbnail":null,"hostname":"default","htmlpage":false,"identifier":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","indexPolicyDependencies":"DEFER","inode":"1b407535-67e3-4f21-ad00-8ef5ef492d64","keyValue":false,"languageId":1,"live":true,"locked":true,"lowIndexPriority":false,"modDate":1685051810282,"modUser":"dotcms.org.1","name":"default","new":false,"owner":"dotcms.org.1","parent":true,"permissionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","permissionType":"com.dotmarketing.portlets.contentlet.model.Contentlet","persona":false,"sortOrder":0,"structureInode":"855a2d72-f2f3-4169-8b04-ac5157c4380c","systemHost":false,"tagStorage":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","title":"default","titleImage":null,"type":"contentlet","vanityUrl":false,"variantId":"DEFAULT","versionId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true},"hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","idate":1695337598490,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","map":{"defaultFileType":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","filesMasks":"","hostId":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","iDate":1695337598490,"identifier":"d4381981618af4daa59a925ee70d30c3","inode":"d4381981618af4daa59a925ee70d30c3","modDate":1695337598490,"name":"moveto","owner":null,"path":"/moveto/","showOnMenu":false,"sortOrder":0,"title":"moveto","type":"folder"},"modDate":1695337598490,"name":"moveto","owner":null,"parent":true,"path":"/moveto/","permissionId":"d4381981618af4daa59a925ee70d30c3","permissionType":"com.dotmarketing.portlets.folders.model.Folder","showOnMenu":false,"sortOrder":0,"systemFolder":false,"title":"moveto","type":"folder"},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ad12a97a-2dab-4278-bae2-021b4e55906e |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Content-Length | 2587342 |
{"file":"resources/issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 81 |
| Date | Thu, 21 Sep 2023 23:07:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-21482-01G2AM0CE9G41M4B0P7HAYDNWT.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3465f8e3-3d96-4799-b3ee-d9c86bc32402 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"query":"+contentType:Issue21482 +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:27 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":48,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-05-05 17:06:40.823","imageMetaData":{"modDate":1651770380645,"sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","length":2192322,"title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"isImage":true,"fileSize":2192322,"name":"Iron Maiden Somewhere in time front cover.jpeg","width":1280,"contentType":"image/jpeg","height":1280},"publishDate":"2022-05-05 17:06:40.823","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","title":"Iron Maiden","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","baseType":"CONTENT","inode":"5da9f247-3308-48fd-9f3a-00138ba0d427","archived":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"videoMetaData":{"modDate":1651770396125,"sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","length":386530,"title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"isImage":true,"fileSize":386530,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","width":1250,"contentType":"image/jpeg","height":1231},"stInode":"665acd917b55aa436b7773223e4c1ff2","contentType":"Issue21482","live":true,"owner":"dotcms.org.1","imageVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/image/Iron Maiden Somewhere in time front cover.jpeg","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","languageId":1,"url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","titleImage":"image","modUserName":"Admin User","hasLiveVersion":true,"videoVersion":"/dA/5da9f247-3308-48fd-9f3a-00138ba0d427/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","folder":"SYSTEM_FOLDER","hasTitleImage":true,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":60,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 79de9b5c-af9c-4471-8946-8290912ed7d0 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 291 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","image":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/image/Iron Maiden Somewhere in time front cover.jpeg","imageContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/image","imageMetaData":{"contentType":"image/jpeg","fileSize":2192322,"height":1280,"isImage":true,"length":2192322,"modDate":1695337636556,"name":"Iron Maiden Somewhere in time front cover.jpeg","sha256":"e2ef5df248c8face63c243fdd420e8245096ac93af233755d41ae76c20ab7dbe","title":"Iron Maiden Somewhere in time front cover.jpeg","version":20220201,"width":1280},"imageVersion":"/dA/34a7d3f0-7120-45f7-b6b1-4bcc99c99ec9/image/Iron Maiden Somewhere in time front cover.jpeg","inode":"34a7d3f0-7120-45f7-b6b1-4bcc99c99ec9","languageId":1,"live":true,"locked":false,"modDate":1695337647754,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337647754,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"image","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695337636564,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/34a7d3f0-7120-45f7-b6b1-4bcc99c99ec9/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d4d3572d-c1fb-4aa9-aa2a-c2a56c662ba7 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 312 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Publishing content",
"contentlet":{
"title": "Iron Maiden - Somewhere in time",
"contentHost": "demo.dotcms.com",
"identifier": "1d5e378c9c6e03c9e72d5dbcb79cdb35",
"contentType":"Issue21482",
"image":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"Issue21482","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":true,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"1d5e378c9c6e03c9e72d5dbcb79cdb35","inode":"c784242d-9267-4bbf-9e92-95046f708453","languageId":1,"live":true,"locked":false,"modDate":1695337654171,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337654171,"sortOrder":0,"stInode":"665acd917b55aa436b7773223e4c1ff2","title":"Iron Maiden - Somewhere in time","titleImage":"video","url":"/content.5da9f247-3308-48fd-9f3a-00138ba0d427","video":"/dA/1d5e378c9c6e03c9e72d5dbcb79cdb35/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","videoContentAsset":"1d5e378c9c6e03c9e72d5dbcb79cdb35/video","videoMetaData":{"contentType":"image/jpeg","fileSize":386530,"height":1231,"isImage":true,"length":386530,"modDate":1695337636564,"name":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","sha256":"3a9d59892df1c1362f1a5e5203c0c9757e651df7cb0819aeea63750ac9d8dbed","title":"Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","version":20220201,"width":1250},"videoVersion":"/dA/c784242d-9267-4bbf-9e92-95046f708453/video/Iron Maiden - Somewhere in Time (1986) front back album cover.jpeg","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a025b894-db88-40ed-a250-2a3277d6a285 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:40 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"id":"e7d4e34e-5127-45fc-8123-d48b62d510e3","name":"Admin User (User)","roleKey":"dotcms.org.1","user":true},{"id":"654b0931-1027-41f7-ad4d-173115ed8ec1","name":"Current User","roleKey":"CMS Anonymous","user":false},{"id":"6b1fa42f-8729-4625-80d1-17e4ef691ce7","name":"CMS Owner","roleKey":"CMS Owner","user":false},{"id":"742c9eb3-8651-4df4-b1dc-00c8c64aee4f","name":"LDAP User","roleKey":"LDAP User","user":false},{"id":"6f9d5449-8f48-4179-a2ad-1983d6217fef","name":"Login As","roleKey":"Login As","user":false}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| length check | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4623761a-d47b-4c64-9ce0-f682476d5f21 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 308 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["654b0931-1027-41f7-ad4d-173115ed8ec1"],
"WRITE":["654b0931-1027-41f7-ad4d-173115ed8ec1"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","body":"Test body","contentType":"webPageContent","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"fb957080b94023700f7142633e248c79","inode":"0c981589-bd44-4ac8-86a9-f4067bd05c73","languageId":1,"live":true,"locked":false,"modDate":1695337660522,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337660522,"sortOrder":0,"stInode":"2a3e91e4-fbbf-4876-8c5b-2233c1739b05","title":"Test3-11","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.0c981589-bd44-4ac8-86a9-f4067bd05c73","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2d4dd25b-6c66-45d5-a52d-6cf095227b83 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:07:52 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"bitPermission":false,"id":0,"inode":"fb957080b94023700f7142633e248c79","permission":"EDIT","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"},{"bitPermission":false,"id":0,"inode":"fb957080b94023700f7142633e248c79","permission":"READ","roleId":"654b0931-1027-41f7-ad4d-173115ed8ec1","type":"individual"}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be 200 | 1 | 0 | 0 |
| The permission should be EDIT | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This endpoint imports a bundle that contains an instance of a Content Type that contains 2 category fields.
| Header Name | Header Value |
|---|---|
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ccf968aa-dbfc-4754-b111-ae45830e6e1a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Content-Length | 10047 |
{"file":"resources/issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 92 |
| Date | Thu, 21 Sep 2023 23:08:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"issue-22756-categories-01GCAK78NPY1JH8TRGX8SWCVN3.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Once the Content type that contains the category fields has been imported this request finds it and gets the identifier from it.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f978e503-e7ea-4dc2-8105-5ea28b4d42af |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:03 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":30,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2022-09-06 23:12:52.124","publishDate":"2022-09-06 23:12:52.124","title":"Update Norco Revolver","baseType":"CONTENT","inode":"98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":8,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This is basically the happy path test. We validate that the content-type can be updated passing arrays of valid categories. Then verify the response to check the categories are the expected.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2e23682-622d-4125-8bcd-c191200238b6 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 353 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["MTB","Road"],
"make":["Norco"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:09 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"7b36ac86-a3a2-4145-a70a-2e9036b3a1a3","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695337683436,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337683436,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This test is meant to send a request without including any of the category fields. The categories on the target content should remain the same.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f43a37ff-1e5d-41ec-a506-effae35ca16a |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 300 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"1ec20244-b822-49ac-b210-8bc82ad9998a","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695337689676,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337689676,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to fetch the instance of our content with categories and verify it remains unmodified after the last request that had excluded the category fields.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | caec7319-2ae2-47d9-a1e9-cfd26ed5bb25 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 120 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"query":"+contentType:BikeNameAndCategory +languageId:1 +deleted:false +working:true","sort":"modDate desc","offset":0}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:15 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":18,"jsonObjectView":{"contentlets":[{"hostName":"default","modDate":"2023-09-21 23:08:09.676","publishDate":"2023-09-21 23:08:09.676","title":"Update Norco Revolver","baseType":"CONTENT","inode":"1ec20244-b822-49ac-b210-8bc82ad9998a","archived":false,"bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","working":true,"locked":false,"stInode":"e80119073f35eef47d321e74783d0d9b","contentType":"BikeNameAndCategory","make":[{"Norco":"Norco"}],"live":true,"owner":"dotcms.org.1","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","languageId":1,"url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]},"queryTook":10,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Now we're gonna try removing the contents from one of the category fields and at the same time we're gonna ignore the second field.
The expected outcome is: Content withe the "bikeType" field cleared and the while "make" should still keep their values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a28d4c8b-a8e5-46cd-b9b3-d525e5f0c2f9 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 316 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":[]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:22 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"0bd89de9-4edb-4e6a-aeae-06e3dc99d4ff","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695337695973,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337695973,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
In this request we want to test that when sending an invalid category name we can expect an invalid request response.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a62a7bde-c038-4363-b7e3-0eec98dfcf44 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 321 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":["lol"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier. |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:22 GMT |
| Connection | close |
{"message":"Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.","stacktrace":{"buffer":"java.lang.IllegalArgumentException: Unable to resolve the string value [lol] as a valid form of category name/var/key or identifier.\n\tat com.dotcms.rest.MapToContentletPopulator.getCategoriesFromStringValue(MapToContentletPopulator.java:605)\n\tat com.dotcms.rest.MapToContentletPopulator.internalFetchCategories(MapToContentletPopulator.java:490)\n\tat com.dotcms.rest.MapToContentletPopulator.fetchCategories(MapToContentletPopulator.java:458)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireAction(WorkflowResource.java:1593)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionByNameSinglePart(WorkflowResource.java:1535)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
This request is intended to test that we can also update categories sending them on the request as a comma separated string.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9ad9d01a-e13e-4e1a-8804-8ea2c0babcb3 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 324 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":"MTB,Road"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"97d3c88a-0e6d-43c4-81b5-9fb91cc2248c","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695337702236,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337702236,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
And finally we want to test that sending null as the value on the category field has the same effect as ignoring the field.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | efd1c7c0-8463-408e-bb9b-9437b59feb72 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 338 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"actionName": "publish",
"comments": "Updated Norco Revolver",
"contentlet":{
"title": "Update Norco Revolver",
"contentHost": "demo.dotcms.com",
"identifier": "c98f9ba46ab2e8dcb7fee6671f4d6837",
"contentType":"BikeNameAndCategory",
"bikeType":null,
"make":null
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:34 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"archived":false,"baseType":"CONTENT","bikeType":[{"MTB":"MTB"},{"Road":"Road"}],"contentType":"BikeNameAndCategory","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"c98f9ba46ab2e8dcb7fee6671f4d6837","inode":"f777083b-012f-4aed-8102-b06f319815a4","languageId":1,"live":true,"locked":false,"make":[{"Norco":"Norco"}],"modDate":1695337708470,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337708470,"sortOrder":0,"stInode":"e80119073f35eef47d321e74783d0d9b","title":"Update Norco Revolver","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.98fc739c-93eb-43ce-92bf-b0a2d30c6fd1","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Imports a Bundle that includes:
* HTMLPage /blog/index
* HTMLPage /blog/destinations/costa-rica
* Contentlet [Blog] Ecotourism in Costa Rica
* Blog Detail Page /blog/blog-detail
| Header Name | Header Value |
|---|---|
| Content-Type | application/octet-stream |
| Content-Disposition | attachment |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6caec6e1-6177-4b15-806d-5f6088cddf35 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
| Content-Length | 13216 |
{"file":"resources/WorkflowResource/experimentType.tar.gz"}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| Content-Type | application/json;charset=utf-8 |
| Content-Length | 57 |
| Date | Thu, 21 Sep 2023 23:08:47 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"bundleName":"experimentType.tar.gz","status":"SUCCESS"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Bundle uploaded sucessfully | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1e6518f8-344d-4020-b13a-f51a7e433c8c |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 486 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{ "contentlet" : {
"stInode" : "28ff0587887d2be07175b8b4fe06129f",
"languageId" : 1,
"name": "experiment 2",
"description": "exp desc",
"trafficAllocation": 50.0,
"trafficProportion": {
"variants": [
{
"name": "default",
"trafficPercentage": 50.0
},
{
"name": "variant1",
"trafficPercentage": 50.0
}
],
"type": "SPLIT_EVENLY"
}
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:53 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Experiment","description":"exp desc","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"48190c8c-42c4-46af-8d1a-0cd5db894797","hostName":"demo.dotcms.com","identifier":"f4008a43b6dc1a1b76bac82050e2ba39","inode":"ef8ec3ce-10b5-4dae-b5ba-4061e483a7dd","languageId":1,"live":true,"locked":false,"modDate":1695337727385,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"experiment 2","owner":"dotcms.org.1","publishDate":1695337727385,"sortOrder":0,"stInode":"28ff0587887d2be07175b8b4fe06129f","title":"experiment 2","titleImage":"TITLE_IMAGE_NOT_FOUND","trafficAllocation":50.0,"trafficProportion":{"type":"SPLIT_EVENLY","variants":[{"name":"default","trafficPercentage":50.0},{"name":"variant1","trafficPercentage":50.0}]},"url":"/content.ef8ec3ce-10b5-4dae-b5ba-4061e483a7dd","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ff319d5a-f738-40f2-8628-a64d177bb851 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 280 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"hostFolder":"default",
"title": "greatings.txt",
"fileName": "greatings.txt",
"fileAsset": {
"fileName": "greatings.txt",
"content": "Hello dotCMS"
},
"contentType": "FileAsset"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"AUTO_ASSIGN_WORKFLOW":false,"__IS_NEW_CONTENT__":true,"__icon__":"txtIcon","archived":false,"baseType":"FILEASSET","contentType":"FileAsset","description":"","extension":"txt","fileAsset":"/dA/00efc056471d5dab0ffc93da187df97f/fileAsset/greatings.txt","fileAssetContentAsset":"00efc056471d5dab0ffc93da187df97f/fileAsset","fileAssetVersion":"/dA/655f1f88-feb8-4d94-80ef-0680ca7d1b5e/fileAsset/greatings.txt","fileName":"greatings.txt","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","hostName":"default","identifier":"00efc056471d5dab0ffc93da187df97f","inode":"655f1f88-feb8-4d94-80ef-0680ca7d1b5e","isContentlet":true,"languageId":1,"live":true,"locked":false,"mimeType":"text/plain; charset=ISO-8859-1","modDate":1695337733667,"modUser":"dotcms.org.1","modUserName":"Admin User","name":"greatings.txt","owner":"dotcms.org.1","parent":"8a7d5e23-da1e-420a-b4f0-471e7da8ea2d","path":"/greatings.txt","publishDate":1695337733667,"size":12,"sortOrder":0,"stInode":"33888b6f-7a8e-4069-b1b6-5c1aa9d0a48d","statusIcons":"<span class='greyDotIcon' style='opacity:.4'></span><span class='liveIcon'></span>","title":"greatings.txt","titleImage":"TITLE_IMAGE_NOT_FOUND","type":"file_asset","underlyingFileName":"greatings.txt","url":"/greatings.txt","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Valid JSON field in response | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 86249798-383f-4e02-aa23-ddb4f8dbd9e5 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 401 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"identifier":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 59a4d71b-bc5c-4c0b-9eab-fd237f5a7902 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 396 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"inode":"no-exist",
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:439)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)\n\tat java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)\n\tat java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 81463173-bc6d-4a8e-a7f2-6b1a2afea53d |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2691)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4dbceea9-8fbb-4027-ba83-743a5e79cdde |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 368 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet":{
"contentType":"webPageContent",
"title":"Test3-11",
"contentHost":"default",
"body":"Test body"
},
"individualPermissions": {
"READ":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"WRITE":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"],
"PUBLISH":["7f58520c-aad6-4bec-8b50-2b3bc38ac0eb"]
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| error-key | contentlet-was-not-found |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:08:59 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"message":"Content not found","stacktrace":{"buffer":"com.dotmarketing.exception.DoesNotExistException: contentlet-was-not-found\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat com.dotcms.util.ReflectionUtils.newInstance(ReflectionUtils.java:105)\n\tat com.dotcms.util.DotPreconditions.isTrue(DotPreconditions.java:1241)\n\tat com.dotcms.util.DotPreconditions.notNull(DotPreconditions.java:1362)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.getContentlet(WorkflowResource.java:2677)\n\tat com.dotcms.rest.api.v1.workflow.WorkflowResource.fireActionDefaultSinglePart(WorkflowResource.java:1684)\n\tat jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)\n\tat org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:267)\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)\n\tat org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)\n\tat org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)\n\tat org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CMSFilter.doFilterInternal(CMSFilter.java:181)\n\tat com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.visitor.filter.servlet.VisitorFilter.doFilter(VisitorFilter.java:81)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.vanityurl.filters.VanityURLFilter.doFilter(VanityURLFilter.java:114)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)\n\tat org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)\n\tat org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:137)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:88)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:53)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:99)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:90)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat com.dotcms.filters.NormalizationFilter.doFilter(NormalizationFilter.java:89)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633)\n\tat org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611)\n\tat java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)\n\tat java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)\n\tat java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n"}}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c47765c7-0a96-4841-95b4-b20e56375eef |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 941 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Region",
"description": "Region",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableTextField",
"dataType": "TEXT",
"fieldType": "Text",
"fieldTypeLabel": "Text",
"fieldVariables": [],
"fixed": false,
"iDate": 1606168746000,
"indexed": true,
"listed": true,
"modDate": 1606168746000,
"name": "Title",
"readOnly": false,
"required": true,
"searchable": true,
"sortOrder": 1,
"unique": false,
"variable": "title"
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:06 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Region","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695337740000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":1,"unique":false,"variable":"title"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695337740000,"icon":"event_note","id":"cec7ff58001803af652a64b505f84dd7","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337746000,"indexed":false,"listed":false,"modDate":1695337746000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337746000,"indexed":false,"listed":false,"modDate":1695337746000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableTextField","contentTypeId":"cec7ff58001803af652a64b505f84dd7","dataType":"TEXT","fieldType":"Text","fieldTypeLabel":"Text","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1606168746000,"id":"08fafd9b64cefc16efdbc1b37ebd90f2","indexed":true,"listed":true,"modDate":1695337740000,"name":"Title","readOnly":false,"required":true,"searchable":true,"sortOrder":2,"unique":false,"variable":"title"}]}]}],"modDate":1695337740000,"multilingualable":false,"name":"Region","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Region","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Given a content type payload containing field variables.
When sending a POST.
Expect that code is 200.
Expect content type is created with the provided fields.
Expect that new properties of content types are set (icon and sortOrder).
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a4594f21-7609-4038-94bb-358381a35a08 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 646 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"clazz": "com.dotcms.contenttype.model.type.ImmutableSimpleContentType",
"defaultType": false,
"name": "Movie",
"description": "Movies",
"host": "SYSTEM_HOST",
"owner": "dotcms.org.1",
"fixed": false,
"system": false,
"folder": "SYSTEM_FOLDER",
"fields": [
{
"clazz": "com.dotcms.contenttype.model.field.ImmutableRelationshipField",
"required": false,
"name": "Regions",
"relationships": {
"velocityVar": "Region",
"cardinality": 0
},
"searchable": false
}
],
"workflow": []
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:12 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":[{"baseType":"CONTENT","clazz":"com.dotcms.contenttype.model.type.ImmutableSimpleContentType","defaultType":false,"description":"Movies","fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337746000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695337746000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":0,"unique":false,"variable":"regions"}],"fixed":false,"folder":"SYSTEM_FOLDER","folderPath":"/","host":"SYSTEM_HOST","iDate":1695337746000,"icon":"event_note","id":"a42293c7633ac02dbd7462a98deebee8","layout":[{"divider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableRowField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Row","fieldTypeLabel":"Row","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337753000,"indexed":false,"listed":false,"modDate":1695337753000,"name":"Row Field","readOnly":false,"required":false,"searchable":false,"sortOrder":0,"unique":false},"columns":[{"columnDivider":{"clazz":"com.dotcms.contenttype.model.field.ImmutableColumnField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldContentTypeProperties":[],"fieldType":"Column","fieldTypeLabel":"Column","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337753000,"indexed":false,"listed":false,"modDate":1695337753000,"name":"Column Field","readOnly":false,"required":false,"searchable":false,"sortOrder":1,"unique":false},"fields":[{"clazz":"com.dotcms.contenttype.model.field.ImmutableRelationshipField","contentTypeId":"a42293c7633ac02dbd7462a98deebee8","dataType":"SYSTEM","fieldType":"Relationship","fieldTypeLabel":"Relationships Field","fieldVariables":[],"fixed":false,"forceIncludeInApi":false,"iDate":1695337746000,"id":"2c85a8ff46665079f8876154f6104d6b","indexed":true,"listed":false,"modDate":1695337746000,"name":"Regions","readOnly":false,"relationships":{"cardinality":0,"isParentField":true,"velocityVar":"Region"},"required":false,"searchable":false,"skipRelationshipCreation":false,"sortOrder":2,"unique":false,"variable":"regions"}]}]}],"modDate":1695337747000,"multilingualable":false,"name":"Movie","owner":"dotcms.org.1","siteName":"systemHost","sortOrder":0,"system":false,"systemActionMappings":{},"variable":"Movie","versionable":true,"workflows":[]}],"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code should be ok 200 | 1 | 0 | 0 |
| fields check | 1 | 0 | 0 |
| description check | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8e941257-5660-4868-a092-a9649a330969 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 113 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"languageId": 1,
"title": "Africa",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:20 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"e9bee03dbf8315b86095b68eeaac1568","inode":"30116bdc-c4c6-44e8-9897-6f71a435a101","languageId":1,"live":true,"locked":false,"modDate":1695337752716,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337752716,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Africa","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.30116bdc-c4c6-44e8-9897-6f71a435a101","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 60486947-00d3-4ff7-9eb8-1464f41acd2f |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 111 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"languageId": 1,
"title": "Asia",
"contentType": "Region"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:28 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Region","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"8ed11fec8c30e7de916f2039a9b903d4","inode":"fc64fd52-cd68-4fc4-9703-2831f770cc97","languageId":1,"live":true,"locked":false,"modDate":1695337760575,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337760575,"sortOrder":0,"stInode":"cec7ff58001803af652a64b505f84dd7","title":"Asia","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.fc64fd52-cd68-4fc4-9703-2831f770cc97","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
Fire any action using the actionId
Optional: If you pass ?inode={inode}, you don't need body here.
@Path("/actions/{actionId}/fire")
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e65ec36f-1021-429d-9f63-e02700652c08 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 85 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"contentlet": {
"languageId": 1,
"contentType": "Movie"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:36 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"__IS_NEW_CONTENT__":true,"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4ae3711f4948895f89accbbe6a19c943","inode":"38518160-7eab-47bb-b808-0acee16ef893","languageId":1,"live":true,"locked":false,"modDate":1695337768640,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337768640,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"4ae3711f4948895f89accbbe6a19c943","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.38518160-7eab-47bb-b808-0acee16ef893","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic YWRtaW5AZG90Y21zLmNvbTphZG1pbg== |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1fd22aa7-a012-4f95-8730-a626d98d0c51 |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 79 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{"contentlet": {
"regions":"+contentType:Region +Region.title:*Asia*"
}
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| Cache-Control | no-cache, no-store, must-revalidate |
| Pragma | no-cache |
| Expires | Mon, 26 Jul 1997 05:00:00 GMT |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"archived":false,"baseType":"CONTENT","contentType":"Movie","folder":"SYSTEM_FOLDER","hasLiveVersion":true,"hasTitleImage":false,"host":"SYSTEM_HOST","hostName":"System Host","identifier":"4ae3711f4948895f89accbbe6a19c943","inode":"9b56e30b-b010-41c3-9eb4-4223d547bc29","languageId":1,"live":true,"locked":true,"modDate":1695337776761,"modUser":"dotcms.org.1","modUserName":"Admin User","owner":"dotcms.org.1","publishDate":1695337776761,"sortOrder":0,"stInode":"a42293c7633ac02dbd7462a98deebee8","title":"4ae3711f4948895f89accbbe6a19c943","titleImage":"TITLE_IMAGE_NOT_FOUND","url":"/content.38518160-7eab-47bb-b808-0acee16ef893","working":true},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| No errors | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.33.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 27a5a993-4ce4-4f12-abce-49480b7f2cbe |
| Host | localhost:8080 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
| Cookie | JSESSIONID=14BC3A83155D400D27FF189FB7936459; access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI0NjE3NmUxMi02YzJkLTQwNmMtYjcyNC00ZGZhYzQ1NjI1MTciLCJ4bW9kIjoxNjk1MzM3NDM5OTc3LCJzdWIiOiJkb3RjbXMub3JnLjEiLCJpYXQiOjE2OTUzMzc0NDIsImlzcyI6ImIzNjlmOTBmNjIiLCJleHAiOjE2OTU0MjM4NDJ9.3WHuAq9ecUbvssLlgcrynFZ1DL68YOVG8HBvgCxuAsM |
{
"query": "+contentType:Movie +identifier:4ae3711f4948895f89accbbe6a19c943",
"sort": "modDate desc",
"limit": 20,
"offset": 0,
"depth": 1
}
| Header Name | Header Value |
|---|---|
| X-Frame-Options | SAMEORIGIN |
| X-Content-Type-Options | nosniff |
| X-XSS-Protection | 1; mode=block |
| x-dot-server | a41e0aa5bab0|3c8b191aed |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET,PUT,POST,DELETE,HEAD,OPTIONS,PATCH |
| Access-Control-Allow-Credentials | true |
| Access-Control-Allow-Headers | * |
| Access-Control-Expose-Headers | * |
| vary | accept-encoding |
| Content-Encoding | gzip |
| Content-Type | application/json |
| Transfer-Encoding | chunked |
| Date | Thu, 21 Sep 2023 23:09:42 GMT |
| Keep-Alive | timeout=3 |
| Connection | keep-alive |
{"entity":{"contentTook":24,"jsonObjectView":{"contentlets":[{"hostName":"System Host","modDate":"2023-09-21 23:09:36.761","publishDate":"2023-09-21 23:09:36.761","title":"4ae3711f4948895f89accbbe6a19c943","baseType":"CONTENT","inode":"9b56e30b-b010-41c3-9eb4-4223d547bc29","archived":false,"host":"SYSTEM_HOST","working":true,"locked":true,"stInode":"a42293c7633ac02dbd7462a98deebee8","contentType":"Movie","live":true,"owner":"dotcms.org.1","identifier":"4ae3711f4948895f89accbbe6a19c943","languageId":1,"url":"/content.38518160-7eab-47bb-b808-0acee16ef893","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note","regions":[{"hostName":"System Host","modDate":"2023-09-21 23:09:20.575","publishDate":"2023-09-21 23:09:20.575","title":"Asia","baseType":"CONTENT","inode":"fc64fd52-cd68-4fc4-9703-2831f770cc97","archived":false,"host":"SYSTEM_HOST","working":true,"locked":false,"stInode":"cec7ff58001803af652a64b505f84dd7","contentType":"Region","live":true,"owner":"dotcms.org.1","identifier":"8ed11fec8c30e7de916f2039a9b903d4","languageId":1,"url":"/content.fc64fd52-cd68-4fc4-9703-2831f770cc97","titleImage":"TITLE_IMAGE_NOT_FOUND","modUserName":"Admin User","hasLiveVersion":true,"folder":"SYSTEM_FOLDER","hasTitleImage":false,"sortOrder":0,"modUser":"dotcms.org.1","__icon__":"contentIcon","contentTypeIcon":"event_note"}]}]},"queryTook":6,"resultsSize":1},"errors":[],"i18nMessagesMap":{},"messages":[],"pagination":null,"permissions":[]}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Check relationships | 1 | 0 | 0 |
| Total | 2 | 0 | 0 |
| Test Name | Assertion Error |
|---|